-
Notifications
You must be signed in to change notification settings - Fork 52
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
Make linting more rigorous. #359
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #359 +/- ##
==========================================
+ Coverage 91.38% 91.40% +0.01%
==========================================
Files 72 72
Lines 12700 12659 -41
==========================================
- Hits 11606 11571 -35
+ Misses 1094 1088 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@landreman |
@landreman |
I'd like to expand the linting rule list to catch more issues. At the same time, I'd like to update the linting framework to the one based on ruff. In place of pep8 and flake8 tools, we will use ruff.
To use ruff, run
pip install ruff
followed by./run_ruff
.The configuration for ruff is done in pyproject.toml. The linter workflow is updated to use ruff. If you are satisfied, I can commit the fixes by ruff and do one more push with all the changes to the source code.