Merge "Update ruff config"

This commit is contained in:
Zuul 2024-08-01 20:23:15 +00:00 committed by Gerrit Code Review
commit b2ab125c3a
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# hacking already covers E402 (and disagrees w/ ruff)
ignore = ["E402"]
lint.ignore = ["E402"]
[per-file-ignores]
[lint.per-file-ignores]
"cinder/volume/drivers/fungible/swagger_api_client.py" = ["E501"]

View File

@ -281,7 +281,7 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
ruff
commands =
ruff {toxinidir}/cinder {posargs}
ruff check {toxinidir}/cinder {posargs}
[hacking]
import_exceptions = typing