Skip to content

Commit 9a3911b

Browse files
committed
Disable PLC0415 (import should be at top-level of a file)
1 parent 422c4a5 commit 9a3911b

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
@@ -256,6 +256,7 @@ ignore = [
256256
# Unused method argument:
257257
"ARG002",
258258
# `open()` should be replaced by `Path.open()`
259+
"PLC0415", # `import` should be at the top-level of a file
259260
"PTH123",
260261
"UP007", # use `X | Y` for type annotations, this does not works for dynamic getting type hints on older python
261262
"UP031", # Use format specifiers instead of percent format

0 commit comments

Comments
 (0)