Skip to content

Commit

Permalink
Enable tryceratops rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tovrstra committed May 24, 2024
1 parent a44d0b4 commit a050e1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ target-version = "py39"
[tool.ruff.lint]
select = [
"E", "W", "F", "I", "N", "UP", "B", "BLE", "A", "EXE", "ISC", "ICN", "PIE", "PYI", "PT",
"PL", "RUF", "C4", "RSE", "RET", "SLF", "NPY", "SIM", "PERF"
"PL", "RUF", "C4", "RSE", "RET", "SLF", "NPY", "SIM", "PERF", "TRY"
]
ignore = [
"PLR0904", # https://docs.astral.sh/ruff/rules/too-many-public-methods/
Expand All @@ -69,4 +69,5 @@ ignore = [
"PLR0917", # https://docs.astral.sh/ruff/rules/too-many-positional/
"PLR2004", # https://docs.astral.sh/ruff/rules/magic-value-comparison/
"PT011", # https://docs.astral.sh/ruff/rules/pytest-raises-too-broad/
"TRY003", # https://docs.astral.sh/ruff/rules/raise-vanilla-args/
]

0 comments on commit a050e1c

Please sign in to comment.