ref: Add ruff rules for TRY2 and TRY002 (#4077)

Add ruff rules for TRY2 and TRY002
This commit is contained in:
Christophe Bornet 2024-10-09 16:04:00 +02:00 • committed by GitHub
commit 8ddab95ac4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 80 additions and 67 deletions

View file

@ -65,8 +65,6 @@ ignore = [
"S",
"SLF",
"T201",
"TRY002",
"TRY2",
"TRY3",
]