Skip to content

Commit

Permalink
ruff: ignore FBT (boolean trap)
Browse files Browse the repository at this point in the history
  • Loading branch information
seebi committed Feb 2, 2024
1 parent 55c272e commit bf97f9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

- check:ruff now creates always a junit XML file
- ignore FIX002 - allow to add TODO notes in the code
- ignore FBT (boolean trap)


## [6.0.1] 2023-11-16
Expand Down
1 change: 1 addition & 0 deletions src/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ ignore = [
"D400", # First line should end with a period
"D415", # First line should end with a period, question mark, or exclamation point
"EM", # Exception texts - https://docs.astral.sh/ruff/rules/#flake8-errmsg-em
"FBT", # The Boolean Trap - https://docs.astral.sh/ruff/rules/#flake8-boolean-trap-fbt
"FIX002", # Allow to add TODO notes in the code
"G004", # Logging statement uses f-string
"ISC001", # single-line-implicit-string-concatenation
Expand Down

0 comments on commit bf97f9b

Please sign in to comment.