Skip to content

Commit

Permalink
tweak linter config - remove EXE001
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Aug 31, 2024
1 parent 245b7c4 commit b1d3955
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,18 @@
]

ignore = [
"ANN101", "ANN401", "B011", "COM812", "G004", "E501", "S101", "SIM102", "SIM114", "UP009"
"ANN101",
"ANN401",
"B011", # Do not call assert False since python -O removes these calls
"COM812",
"G004",
"E501", # Line too long
"EXE001",
"S101",
"SIM102", # Use a single `if` statement instead of nested `if` statements
"SIM114", # Combine `if` branches using logical `or` operator
"UP009", # UTF-8 encoding declaration is unnecessary
]
# B011 - Do not call assert False since python -O removes these calls
# E501 - Line too long
# G004 - Logging statement uses f-string
# SIM102 - Use a single `if` statement instead of nested `if` statements
# SIM114 - Combine `if` branches using logical `or` operator
# UP009 - UTF-8 encoding declaration is unnecessary


[tool.ruff.lint.flake8-import-conventions.extend-aliases]
Expand Down

0 comments on commit b1d3955

Please sign in to comment.