Skip to content

Commit

Permalink
Ruff: add SIM
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik committed Jun 22, 2024
1 parent 91de2e8 commit a80481e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ select = [
"INP",
"SLOT",
"RSE",
"SIM",
"PD",
"PGH",
"TRY003",
Expand All @@ -61,7 +62,16 @@ select = [
"NPY",
"AIR",
]
ignore = ["E501", "E722", "F821"]
ignore = [
"E501",
"E722",
"F821",
"SIM102",
"SIM113",
"SIM115",
"SIM116",
"SIM117",
]

# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
Expand Down

0 comments on commit a80481e

Please sign in to comment.