ref: Use TypeError instead of ValueError when relevant (TRY004) (#4045)
Use TypeError instead of ValueError when relevant (TRY004)
This commit is contained in:
parent
12a381a3fa
commit
ba6838c13c
34 changed files with 56 additions and 54 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue