diff --git a/ruff.toml b/ruff.toml index 95e6f82a71d..51686973eac 100644 --- a/ruff.toml +++ b/ruff.toml @@ -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"] diff --git a/tox.ini b/tox.ini index 7d73bc07471..11142c1e521 100644 --- a/tox.ini +++ b/tox.ini @@ -282,7 +282,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