Skip to content

Commit 870824b

Browse files
committed
add more ruff rules
1 parent 64bb78e commit 870824b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,14 @@ select = [
9292
"RSE", # https://docs.astral.sh/ruff/rules/#flake8-raise-rse
9393
"RET", # https://docs.astral.sh/ruff/rules/#flake8-return-ret
9494
"SLF", # https://docs.astral.sh/ruff/rules/#flake8-self-slf
95+
"SLOT", # https://docs.astral.sh/ruff/rules/#flake8-slots-slot
9596
"SIM", # https://docs.astral.sh/ruff/rules/#flake8-simplify-sim
9697
"ARG", # https://docs.astral.sh/ruff/rules/#flake8-unused-arguments-arg
9798
"PTH", # https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth
9899
"PGH", # https://docs.astral.sh/ruff/rules/#pygrep-hooks-pgh
99100
"PLC", # https://docs.astral.sh/ruff/rules/#convention-c
100101
"PLE", # https://docs.astral.sh/ruff/rules/#error-e_1
102+
"TRY", # https://docs.astral.sh/ruff/rules/#tryceratops-try
101103
"PERF", # https://docs.astral.sh/ruff/rules/#perflint-perf
102104
"FURB", # https://docs.astral.sh/ruff/rules/#refurb-furb
103105
"RUF", # https://docs.astral.sh/ruff/rules/#ruff-specific-rules-ruf

0 commit comments

Comments
 (0)