-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Choice of linter toolchain is a matter for project developers. `ruff` was pushed by an external contributor, and was accepted to hopefully improve interest/engagement in maintenance. However, there was no particular reason to use `ruff` and it puts us in the position of opting out of a lot of configs rather than opting in to what we want. flake8 also offers a plugin framework which allows for checks like `flake8-typing-as-t` to be easily added post-hoc. In addition to flake8, reapply isort and pyupgrade, and add slyp.
- Loading branch information
Showing
3 changed files
with
28 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
exclude = .git,.tox,__pycache__,.eggs,dist,.venv*,docs,build | ||
max-line-length = 88 | ||
extend-ignore = W503,W504,E203 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters