Closed
Bug 1823914
Opened 3 years ago
Closed 3 years ago
switch from flake8 to ruff
Categories
(Tecken :: General, task, P3)
Tecken
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(2 external files)
We currently use flake8 for linting, but we hit some dependency conflicts between flake8 and Sphinx. Meanwhile, there's a new linter that's faster and includes more functionality that looks interesting.
This bug covers looking at switching to that.
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
I enabled F (pyflakes), E (pycodestyle) and B (bugbear). Other things we could look at enabling:
- A (builtins)
- D (pydocstyle)
- DTZ (datetimez)
- EM (errmsg)
- I (isort)
- G (logging-format)
- PIE (pie)
- PT (pytest)
- UP (pyupgrade)
I'm not going to do that in this pass, though.
| Assignee | ||
Comment 3•3 years ago
|
||
willkg merged PR #2704: "Bug 1823914: switch to ruff" in 76ec135.
| Assignee | ||
Updated•3 years ago
|
Summary: [research] switch from flake8 to ruff → switch from flake8 to ruff
| Assignee | ||
Comment 4•3 years ago
|
||
| Assignee | ||
Comment 5•3 years ago
|
||
| Assignee | ||
Comment 6•3 years ago
|
||
I pushed this out as part of bug #1825022 just now.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•