-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Switch flake8->ruff #212
Switch flake8->ruff #212
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #212 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 391 391
Branches 82 82
=========================================
Hits 391 391 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise looks great.
requirements/linting.txt
Outdated
sniffio==1.3.0 | ||
# via trio | ||
sortedcontainers==2.4.0 | ||
# via trio | ||
tomli==2.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure tomli
should be removed here? Did you generate this with pip-compile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did pip-compile requirements/linting.in -o requirements/linting.txt
exactly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure
tomli
should be removed here? Did you generate this with pip-compile?
Apologies, you were right indeed. I ran pip-compile
on 3.11
initially.
Now ran the above command (pip-compile requirements/linting.in -o requirements/linting.txt
) in 3.10
and tomli
is indeed kept as is (which makes sense considering it was added from black
/mypy
). Fixed in latest commit, sorry about that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem, easy mistake to make. Would be wonderful if pip-compile could know what versions are required.
Thanks so much. |
Hi @samuelcolvin ,
I noticed you moved from
flake8
toruff
onpydantic-core
(pydantic/pydantic-core@bfe2d13), so I thought it would be a good idea too inwatchfiles
.