Add flake8-logging (LOG) and flake8-logging-format (G) for ruff (#1104)

Enables rules LOG (flake8-logging) and G (flake8-logging-format) for
ruff. This will catch eager log message formatting, among other similar
issues.
This commit is contained in:
Teemu R.
2024-08-30 16:13:14 +02:00
committed by GitHub
parent 2706e9a5be
commit 3e43781bb2
11 changed files with 33 additions and 26 deletions

View File

@@ -117,6 +117,8 @@ select = [
"FA", # flake8-future-annotations
"I", # isort
"S", # bandit
"LOG", # flake8-logging
"G", # flake8-logging-format
]
ignore = [
"D105", # Missing docstring in magic method