Skip to content

Commit

Permalink
Ignore PLR2004 and RET504
Browse files Browse the repository at this point in the history
  • Loading branch information
hasansezertasan committed May 28, 2024
1 parent f2c90a1 commit 7618b8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ select = [
]
ignore = [
"E501", # line too long, handled by black
"RET504", # Unnecessary assignment before returns
"PLR2004", # Magic value used in comparison (.status_code == 200)
]
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
Expand Down

0 comments on commit 7618b8d

Please sign in to comment.