File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 55
55
56
56
- name : " Lint"
57
57
run : |
58
- flake8 *.py pip_check_reqs tests
59
58
mypy .
60
- isort --check-only .
59
+ ruff .
61
60
black --check .
62
61
pylint pip_check_reqs tests
63
62
pip-extra-reqs pip_check_reqs
Original file line number Diff line number Diff line change 48
48
' too-many-return-statements' ,
49
49
' too-many-lines' ,
50
50
' locally-disabled' ,
51
- # Let flake8 handle long lines
51
+ # Let ruff handle long lines
52
52
' line-too-long' ,
53
- # Let flake8 handle unused imports
53
+ # Let ruff handle unused imports
54
54
' unused-import' ,
55
55
# Let isort deal with sorting
56
56
' ungrouped-imports' ,
59
59
' missing-return-type-doc' ,
60
60
# Too difficult to please
61
61
' duplicate-code' ,
62
- # Let isort handle imports
62
+ # Let ruff handle imports
63
63
' wrong-import-order' ,
64
64
# It would be nice to add this, but it's too much work
65
65
" missing-function-docstring" ,
@@ -94,7 +94,5 @@ line-length = 79
94
94
95
95
strict = true
96
96
97
- [tool .isort ]
98
-
99
- multi_line_output = 3
100
- include_trailing_comma = true
97
+ [tool .ruff ]
98
+ select = [" ALL" ]
Original file line number Diff line number Diff line change 1
1
black
2
- flake8
3
- isort
2
+ ruff
4
3
mypy
5
4
pyenchant
6
5
pylint
You can’t perform that action at this time.
0 commit comments