diff --git a/pyproject.toml b/pyproject.toml index 1f5918e..afc7d6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,8 +39,10 @@ target-version = ['py38'] isort = true [tool.ruff] -select = ["E", "F", "B", "UP"] target-version = "py38" + +[tool.ruff.lint] +select = ["E", "F", "B", "UP"] # Exceptions: # B9 flake8-bugbear opinionated warnings # E501 is line length (delegated to black) diff --git a/tox.ini b/tox.ini index 0f66acd..896da51 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = lint, mypy,test [testenv] commands = - lint: ruff . + lint: ruff check . lint: flake8 . mypy: mypy rfparser/ test: pytest