build: enable tryceratops rules in ruff

Ignore this rule for now:
TRY003 Avoid specifying long messages outside the exception class
This commit is contained in:
Dimitri Papadopoulos 2024-01-13 11:59:50 +01:00 committed by Adrien Vergé
parent f68cae3f1e
commit 329500a1bc

View File

@ -1,5 +1,6 @@
[lint]
extend-select = ["B", "I", "UP"]
extend-select = ["B", "I", "TRY", "UP"]
ignore = ["TRY003"]
[lint.isort]
known-third-party = ["tests"]