Update for new ruff syntax (#826)

* Update for new ruff syntax

* Update pyproject.toml
This commit is contained in:
Alex Gaynor 2024-07-08 01:33:13 -04:00 committed by GitHub
parent 3a61aef92a
commit 9f60dab706
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -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]

View File

@ -17,7 +17,7 @@ commands =
deps =
ruff
commands =
ruff .
ruff check .
ruff format --check .
[testenv:mypy]