project: Extend ruff check with flake8-bugbear

Enable flake8-bugbear rules when running ruff check.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-11-04 15:04:39 +01:00 committed by Pieter De Gendt
parent be694ed7d8
commit 8f7fc5edef
1 changed files with 1 additions and 3 deletions

View File

@ -50,11 +50,9 @@ line-length = 100
[tool.ruff.lint] [tool.ruff.lint]
extend-select = [ extend-select = [
<<<<<<< HEAD
"I", # isort "I", # isort
======= "B", # flake8-bugbear
"E", # pycodestyle errors "E", # pycodestyle errors
>>>>>>> f20fd71 (project: Extend ruff check with pycodestyle)
"UP", # pyupgrade "UP", # pyupgrade
"W", # pycodestyle warnings "W", # pycodestyle warnings
] ]