ruff: enable FBT rules to detect boolean arguments use without kwargs
This commit is contained in:
parent
118c2d4484
commit
664c40e3e8
19 changed files with 50 additions and 39 deletions
|
@ -1,10 +1,11 @@
|
|||
target-version = "py38" # NOTE: inferred from pyproject.toml if present
|
||||
|
||||
lint.extend-select = [
|
||||
"F", # flakes rules -- default, but extend just in case
|
||||
"E", # pycodestyle -- default, but extend just in case
|
||||
"C4", # flake8-comprehensions -- unnecessary list/map/dict calls
|
||||
"UP", # detect deprecated python stdlib stuff
|
||||
"F", # flakes rules -- default, but extend just in case
|
||||
"E", # pycodestyle -- default, but extend just in case
|
||||
"C4", # flake8-comprehensions -- unnecessary list/map/dict calls
|
||||
"UP", # detect deprecated python stdlib stuff
|
||||
"FBT", # detect use of boolean arguments
|
||||
]
|
||||
|
||||
lint.ignore = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue