Ignore PLC1901
This commit is contained in:
parent
76d7964d53
commit
7d930c4f7e
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ ignore = [
|
||||||
"E501", # long lines
|
"E501", # long lines
|
||||||
"D1", # missing docstring
|
"D1", # missing docstring
|
||||||
"TRY003", # Avoid specifying long messages outside the exception class
|
"TRY003", # Avoid specifying long messages outside the exception class
|
||||||
|
"PLC1901", # {} can be simplified to {} as an empty string is falsey
|
||||||
]
|
]
|
||||||
[tool.ruff.per-file-ignores]
|
[tool.ruff.per-file-ignores]
|
||||||
"**/tests/*" = [
|
"**/tests/*" = [
|
||||||
|
|
Reference in a new issue