diff --git a/pyproject.toml b/pyproject.toml index c566255..f194700 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ quote-style = "preserve" docstring-code-format = true [tool.ruff.lint] -select = ["E4", "E5", "E7", "E9", "F", "S", "UP"] +select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"] [tool.ruff.lint.per-file-ignores] "oslo_context/tests/*" = ["S"] diff --git a/tox.ini b/tox.ini index a8bfd8c..9ca03b7 100644 --- a/tox.ini +++ b/tox.ini @@ -58,8 +58,6 @@ commands = [flake8] # We only enable the hacking (H) checks select = H -# H904: Delay string interpolations at logging calls -enable-extensions = H904 # H301 Black will put commas after imports that can't fit on one line # H404 Docstrings don't always start with a newline # H405 Multiline docstrings are okay