-
Notifications
You must be signed in to change notification settings - Fork 204
Ruff implementation #477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
kingbuzzman
wants to merge
54
commits into
Bachmann1234:main
Choose a base branch
from
kingbuzzman:dev/ruff-implementation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Ruff implementation #477
Changes from 31 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
448dbbb
Adds ruff check
kingbuzzman fe444b5
Fixes isort
kingbuzzman cedcff1
Adds tests
kingbuzzman d0336e3
.
kingbuzzman 588255b
Adds docs
kingbuzzman 3b100b0
oops
kingbuzzman 439a6cf
Adds ruff linting and formatting
kingbuzzman d1cbd0b
format
kingbuzzman 686e18f
.
kingbuzzman a633412
Update .git-blame-ignore-revs
kingbuzzman 6144651
putting it all back
kingbuzzman 191134e
isort
kingbuzzman 5abe6a4
Merge branch 'dev/implement-ruff' of github.com:kingbuzzman/diff_cove…
kingbuzzman 8171a16
.
kingbuzzman 50f1db7
.
kingbuzzman 76dd715
.
kingbuzzman effe406
Merge branch 'main' into feature/ruff
kingbuzzman 617225c
Merge remote-tracking branch 'remote/main' into feature/ruff
kingbuzzman 5451e3e
Merge remote-tracking branch 'origin/feature/ruff' into feature/ruff
kingbuzzman ddf7c7b
Merge branch 'feature/ruff' into dev/implement-ruff
kingbuzzman d5df82a
Min version should be our least required
kingbuzzman 78dc75e
Merge remote-tracking branch 'remote/main' into dev/implement-ruff
kingbuzzman 29abb57
.
kingbuzzman eb13b7d
.
kingbuzzman 047a9a7
Improvements
kingbuzzman 99f587d
More replacements..
kingbuzzman 68dc06c
Merge remote-tracking branch 'origin/main' into dev/ruff-implementation
kingbuzzman 1a3d77e
.
kingbuzzman 2934d0b
Merge branch 'main' into dev/ruff-implementation
kingbuzzman dffcb7b
wip
kingbuzzman 3b7d5a4
Merge branch 'main' into dev/ruff-implementation
kingbuzzman 3db2722
Update diff_cover/git_diff.py
kingbuzzman b41aeb2
Merge branch 'main' into dev/ruff-implementation
kingbuzzman ba03bd6
Update diff_cover/diff_cover_tool.py
kingbuzzman bdb3018
.
kingbuzzman 25a1272
.
kingbuzzman 39de607
.
kingbuzzman ccc357c
Merge branch 'main' into dev/ruff-implementation
kingbuzzman 67b1593
Merge branch 'main' into dev/ruff-implementation
kingbuzzman e179d5e
Merge branch 'Bachmann1234:main' into dev/ruff-implementation
kingbuzzman 64bdc39
Merge branch 'Bachmann1234:main' into dev/ruff-implementation
kingbuzzman 124a1fb
Update
kingbuzzman 46c46c2
FINALLY fixes isort issue that was driving me up a tree
kingbuzzman ac6fdc9
.
kingbuzzman a6f1f82
Fixes tests
kingbuzzman 7261669
.
kingbuzzman bb53e06
Fixes bug modifying GitPathTool object
kingbuzzman 217f3af
.
kingbuzzman 25af280
.
kingbuzzman 66f22b2
.
kingbuzzman ed7c7d5
More fixes
kingbuzzman f5cce2b
Nicer
kingbuzzman eb257b8
.
kingbuzzman 9886242
Merge branch 'main' into dev/ruff-implementation
kingbuzzman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,7 @@ | ||
| # Migrate code style to Black | ||
| e1db83a447700237a96be7a9db4413fe5024d328 | ||
| # Migrate code style to Ruff | ||
| # ######################################################################## | ||
| # TODO: IMPORTANT replace this with the real commit once it's merged | ||
| # ######################################################################## | ||
| d1cbd0bbfd80e19f7ab6231251389fadfd4b9b22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| from importlib.metadata import version | ||
|
|
||
|
|
||
| VERSION = version("diff_cover") | ||
| DESCRIPTION = "Automatically find diff lines that need test coverage." | ||
| QUALITY_DESCRIPTION = "Automatically find diff lines with quality violations." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| import abc | ||
| import enum | ||
|
|
||
|
|
||
| try: | ||
| import tomli as toml | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| import pluggy | ||
|
|
||
|
|
||
| # Other packages that implement diff_cover plugins use this. | ||
| hookimpl = pluggy.HookimplMarker("diff_cover") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| import pluggy | ||
|
|
||
|
|
||
| hookspec = pluggy.HookspecMarker("diff_cover") | ||
|
|
||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.