Repository navigation
use ruff for linting and formatting, update CI - #978
Merged
Merged
Conversation
janfb
force-pushed
the
add-ruff-and-update-ci
branch
2 times, most recently
from
March 6, 2024 10:56
7c3392d to
2cdca6b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #978 +/- ##
==========================================
+ Coverage 76.17% 76.28% +0.10%
==========================================
Files 83 83
Lines 6406 6384 -22
==========================================
- Hits 4880 4870 -10
+ Misses 1526 1514 -12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
janfb
force-pushed
the
add-ruff-and-update-ci
branch
from
March 6, 2024 12:26
cfd5849 to
32978c9
Compare
janfb
force-pushed
the
add-ruff-and-update-ci
branch
3 times, most recently
from
March 7, 2024 09:43
dbe58f5 to
0df847d
Compare
janfb
force-pushed
the
add-ruff-and-update-ci
branch
from
March 7, 2024 09:58
0df847d to
c83e095
Compare
michaeldeistler
left a comment
Contributor
There was a problem hiding this comment.
Thanks a lot! I did not go through tests and tutorials, but left some comments on the rest.
janfb
force-pushed
the
add-ruff-and-update-ci
branch
from
March 12, 2024 10:29
afe00fc to
246c8b0
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Main changes
black,isortandflakebyruffinpyproject.tomlpre-commithookspre-commithooksrufferrors so that we can introducerufflinting and formatting in pre-commit hooks for the hackathonWhy are there so many changed files?
pre-commitfixes: trailing whitespaces and empty linesruff check --fixtosbi/,examples/tutorials/tests/ruff format .ruff check .errors manually 😵fixes #934
fixes #959
fixes #960
Notes for reviewing
As there are so many file changes, I recommend reviewing the individual commits separately. I tried to group changes into specific commits.