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
replace flake8
with ruff
#77
Conversation
Codecov ReportBase: 0.00% // Head: 0.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #77 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 25 25
Lines 3060 3060
======================================
Misses 3060 3060 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
The installed dependencies would change from those required by pipdeptree --packages flake8
to the pipdeptree --packages ruff
|
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.
Thought this morning: Can we leave the flake8 configuration? The CI can use ruff, but at least having the equivalent flake8 will not leave IDE's and other tools out.
Sure, we can |
ruff
is currently in-development, aims for parity withflake8
andblack
, and also implements several additional rulesets and fixes such aspydocstyle
,isort
, andflake8-bandit
. It also supportspyproject.toml
in the[tool.ruff]
table. We can use it withoutblack
, and port over the existing.flake8
configuration usingflake8-to-ruff
ruff
's supported rules: https://github.com/charliermarsh/ruff#supported-rules