Skip to content

Commit

Permalink
build: enable tryceratops rules in ruff
Browse files Browse the repository at this point in the history
Ignore this rule for now:
TRY003 Avoid specifying long messages outside the exception class
  • Loading branch information
DimitriPapadopoulos authored and adrienverge committed Jan 20, 2024
1 parent f68cae3 commit 329500a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[lint]
extend-select = ["B", "I", "UP"]
extend-select = ["B", "I", "TRY", "UP"]
ignore = ["TRY003"]

[lint.isort]
known-third-party = ["tests"]

0 comments on commit 329500a

Please sign in to comment.