Merge "Update ruff config"
This commit is contained in:
commit
b2ab125c3a
@ -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
@ -281,7 +281,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