diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..43e1ec4 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[tool.ruff.lint] +select = [ + # pycodestyle + "E", + # Pyflakes + "F", + # pyupgrade + "UP", + # flake8-bugbear + "B", + # flake8-simplify + "SIM", + # isort + "I", +] +ignore = ["F401"] diff --git a/tox.ini b/tox.ini index 8a74311..f5bb3c8 100644 --- a/tox.ini +++ b/tox.ini @@ -19,9 +19,8 @@ setenv = [testenv:qa] deps = - flake8 - mccabe -commands = flake8 --max-complexity=10 setup.py pyrepl tests pythoni pythoni1 + ruff +commands = ruff check setup.py pyrepl tests pythoni pythoni1 [pytest] testpaths = tests