Skip to content

Commit 7487a26

Browse files
Ignore UP038
1 parent 2c23958 commit 7487a26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ lint.ignore = [
136136
"PTH207", # Replace `glob` with `Path.glob` or `Path.rglob`
137137
"PTH208", # Use `pathlib.Path.iterdir()` instead"
138138
"RUF012", # mutable default values in class attributes
139+
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
139140
]
140141
lint.pydocstyle.convention = "pep257"
141142

0 commit comments

Comments
 (0)