Enable ruff FBT002 check and fix resulting complaints

This commit is contained in:
Sebastian Steinbeißer
2025-01-06 21:09:03 +01:00
parent b274665e21
commit 4726be0d51
23 changed files with 47 additions and 23 deletions

View File

@@ -32,6 +32,7 @@ extend-select = [
"RUF", # https://docs.astral.sh/ruff/rules/#ruff-specific-rules-ruf
"FLY", # https://docs.astral.sh/ruff/rules/#flynt-fly
"PTH", # https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth
"FBT002", # https://docs.astral.sh/ruff/rules/#flake8-boolean-trap-fbt
]
ignore = ["DJ001", "SIM105", "RUF012"]