Skip to content

Commit 2b586dc

Browse files
committed
Disable WPS440 and WPS433 for plugin
setup.cfg: Disable WPS440 and WPS433 for plugin as they are requirements for the conditional import of importlib_metadata.
1 parent 078baf9 commit 2b586dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ extend-exclude =
3131

3232
# Ignoring some errors in some files:
3333
per-file-ignores =
34+
# we need nested import and block variable overlap for conditional
35+
# importlib_metadata import
36+
coverage_conditional_plugin/__init__.py: WPS433, WPS440
3437
# Disable `test_project` complexity checks:
3538
test_project/example.py: WPS202
3639
# Enable `assert` keyword and magic numbers for tests:

0 commit comments

Comments
 (0)