diff --git a/pyproject.toml b/pyproject.toml index b5af570..095e9cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,11 +52,12 @@ typecheck = ["mypy"] [tool.ruff] -ignore = ['N818'] -select = ['E', 'F', 'I', 'N', 'W', 'UP', 'RUF'] line-length = 79 -[tool.ruff.isort] +lint.ignore = ['N818'] +lint.select = ['E', 'F', 'I', 'N', 'W', 'UP', 'RUF'] + +[tool.ruff.lint.isort] known-first-party = ["bcrypt", "tests"] [tool.mypy] diff --git a/tox.ini b/tox.ini index 62c31d1..ec13ebb 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ commands = deps = ruff commands = - ruff . + ruff check . ruff format --check . [testenv:mypy]