File tree Expand file tree Collapse file tree 3 files changed +0
-9
lines changed Expand file tree Collapse file tree 3 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ ignore = [
29
29
" F541" , # f-string without any placeholders
30
30
" PYI024" , # Use `typing.NamedTuple` instead of `collections.namedtuple`
31
31
" PYI025" , # Use `from collections.abc import Set as AbstractSet`
32
- " UP038" , # Use `X | Y` in `isinstance` call instead of `(X, Y)`
33
32
]
34
33
35
34
[lint .per-file-ignores ]
Original file line number Diff line number Diff line change @@ -17,9 +17,6 @@ ignore = [
17
17
# Use f-strings instead of format specifiers.
18
18
# Doesn't always make code more readable.
19
19
" UP032" ,
20
- # Use PEP-604 unions rather than tuples for isinstance() checks.
21
- # Makes code slower and more verbose. https://github.com/astral-sh/ruff/issues/7871.
22
- " UP038" ,
23
20
]
24
21
unfixable = [
25
22
# The autofixes sometimes do the wrong things for these;
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ select = [
13
13
" RUF100" , # Ban unused `# noqa` comments
14
14
" PGH004" , # Ban blanket `# noqa` comments (only ignore specific error codes)
15
15
]
16
- ignore = [
17
- # Use PEP-604 unions rather than tuples for isinstance() checks.
18
- # Makes code slower and more verbose. https://github.com/astral-sh/ruff/issues/7871.
19
- " UP038" ,
20
- ]
21
16
unfixable = [
22
17
# The autofixes sometimes do the wrong things for these;
23
18
# it's better to have to manually look at the code and see how it needs fixing
You can’t perform that action at this time.
0 commit comments