ref: Use TypeError instead of ValueError when relevant (TRY004) (#4045)

Use TypeError instead of ValueError when relevant (TRY004)
This commit is contained in:
Christophe Bornet 2024-10-08 21:10:57 +02:00 • committed by GitHub
commit ba6838c13c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 56 additions and 54 deletions

View file

@ -62,12 +62,14 @@ ignore = [
"EXE",
"FBT",
"N",
"PGH",
"RUF006", # Store a reference to the return value of `asyncio.create_task`
"S",
"SLF",
"T201",
"TRY",
"PGH",
"TRY002",
"TRY2",
"TRY3",
]
[tool.ruff.lint.per-file-ignores]