You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that refers to all error codes as currently implemented by ruff. E111 is not one of them. One is able to replace flake8 with ruff under conditions mentioned here.
Ruff can be used as a drop-in replacement for Flake8 when used (1) without or with a small number of plugins, (2) alongside Black, and (3) on Python 3 code.
None of error codes < E400 from pycodestyle have been implemented so far. A more recent comment from Charlie on that matter:
We prioritized the rules based on the assumption that Ruff would be used alongside Black -- so we just haven't focused on implementing rules like E302 that are made obsolete by an autoformatter. (It doesn't mean we won't implement them, just that they weren't / haven't been prioritized.) That's one of the key assumptions baked into any "parity with Flake8" claims. I hope it doesn't come across as misleading, it's all documented in the FAQ, definitely not my intent.
Hi,
I may be misunderstanding something, but from the README
I thought that all E* codes from flake8 would show up with
ruff
too. But here I seeE111
being skipped:Example:
Diagnostics:
Likewise for
E226
The text was updated successfully, but these errors were encountered: