Enable logging related ruff checks

... to extend the enforced format rules related to logging.

Change-Id: I695e1875c6f784c3b8f4612474cd210d3aa71325
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-12-11 16:55:43 +09:00
parent 84bab7a246
commit 1054c88ced
2 changed files with 2 additions and 4 deletions

View File

@@ -47,7 +47,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"]
ignore = [
# we only use asserts for type narrowing
"S101",

View File

@@ -42,9 +42,7 @@ commands =
[flake8]
# We only enable the hacking (H) checks
select = H,O
# H904: Delay string interpolations at logging calls
enable-extensions = H904
select = H
# H301 Black will put commas after imports that can't fit on one line
ignore = H301
show-source = true