Update ruff config
ruff 0.3.5 issues warnings for these, update to current form. Change-Id: I2a69bda80dc142770d9551b3982808e28594fc25
This commit is contained in:
parent
b0f0b9015b
commit
8f51bbbb30
@ -1,5 +1,5 @@
|
|||||||
# hacking already covers E402 (and disagrees w/ ruff)
|
# 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"]
|
"cinder/volume/drivers/fungible/swagger_api_client.py" = ["E501"]
|
||||||
|
2
tox.ini
2
tox.ini
@ -282,7 +282,7 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
ruff
|
ruff
|
||||||
commands =
|
commands =
|
||||||
ruff {toxinidir}/cinder {posargs}
|
ruff check {toxinidir}/cinder {posargs}
|
||||||
|
|
||||||
[hacking]
|
[hacking]
|
||||||
import_exceptions = typing
|
import_exceptions = typing
|
||||||
|
Loading…
Reference in New Issue
Block a user