-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
🔧 Remove flake8 (replaced by ruff) #12163
Conversation
Unless I am missing something, ruff now has full parity with flake8: https://docs.astral.sh/ruff/faq/#how-does-ruffs-linter-compare-to-flake8, and so there is no need to use it anymore?
I don't know much about flake8 so I'll leave it to daniel. |
not quite perfect parity yet, see astral-sh/ruff#2402 personally i'm in favour of doing it anyway, but this was recently rejected - #11902 |
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.
Yep, this makes sense to me. Fewer CI compute resources spent (despite this being a relatively quick-running one), and we can always occasionally run flake8
locally, or even re-add it later, if there are any concerns.
I grepped for flake8
in the doc
, utils
, README.rst
, CONTRIBUTING.rst
-- and found no results.
So we are missing:
Nevertheless, I'm wondering if with |
i would guess so, but i don't know for sure |
@chrisjsewell I fixed your local conflict (but I forgot to ask you whether it's fine; if not, I won't do it in the future). |
no problem, thanks for mentioning 😄 |
We can remove flake8 when Ruff implements the remaining rules, or we decide to adopt autoformatting. Neither is yet the case, so closing. |
Unless I am missing something, ruff now has full parity with flake8: https://docs.astral.sh/ruff/faq/#how-does-ruffs-linter-compare-to-flake8, and so there is no need to keep using it anymore?