Skip to content

Commit 329500a

Browse files
DimitriPapadopoulosadrienverge
authored andcommitted
build: enable tryceratops rules in ruff
Ignore this rule for now: TRY003 Avoid specifying long messages outside the exception class
1 parent f68cae3 commit 329500a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.ruff.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[lint]
2-
extend-select = ["B", "I", "UP"]
2+
extend-select = ["B", "I", "TRY", "UP"]
3+
ignore = ["TRY003"]
34

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

0 commit comments

Comments
 (0)