Skip to content

Commit d95cff9

Browse files
committed
lint: Enable flake8-bugbear and flake8-datetimez
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent 289950a commit d95cff9

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ line-length=80
8282

8383
[tool.ruff.lint]
8484
select = [
85-
"D", # pydocstyle
86-
"E", # pycodestyle
87-
"F", # pyflakes
88-
"I", # isort
89-
"N", # pep8-naming
90-
"PL", # pylint
91-
"S", # flake8-bandit
85+
"B", # flake8-bugbear
86+
"D", # pydocstyle
87+
"DTZ", # flake8-datetimez
88+
"E", # pycodestyle
89+
"F", # pyflakes
90+
"I", # isort
91+
"N", # pep8-naming
92+
"PL", # pylint
93+
"S", # flake8-bandit
9294
]
9395
ignore = ["D400","D415","D213","D205","D202","D107","D407","D413","D212","D104","D406","D105","D411","D401","D200","D203", "PLR0913", "PLR2004"]
9496

0 commit comments

Comments
 (0)