We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7f4124 commit 3a01664Copy full SHA for 3a01664
pyproject.toml
@@ -0,0 +1,16 @@
1
+[tool.ruff.lint]
2
+select = [
3
+ # pycodestyle
4
+ "E",
5
+ # Pyflakes
6
+ "F",
7
+ # pyupgrade
8
+ "UP",
9
+ # flake8-bugbear
10
+ "B",
11
+ # flake8-simplify
12
+ "SIM",
13
+ # isort
14
+ "I",
15
+]
16
+ignore = ["F401"]
tox.ini
@@ -19,9 +19,8 @@ setenv =
19
20
[testenv:qa]
21
deps =
22
- flake8
23
- mccabe
24
-commands = flake8 --max-complexity=10 setup.py pyrepl tests pythoni pythoni1
+ ruff
+commands = ruff check setup.py pyrepl tests pythoni pythoni1
25
26
[pytest]
27
testpaths = tests
0 commit comments