Skip to content

Commit 3aa6950

Browse files
committed
Disable some pyflages checks
Both cannot be disabled case by case and since flake8 also checks for those conditions they are redundant anyway.
1 parent 0d2ed06 commit 3aa6950

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.prospector.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ pyflakes:
1919
# to specify additional builtins for pyflakes with prospector.
2020
# We also test for this with flake8 in a saner way.
2121
- F821
22-
# Ignore syntax errors as reported by PyFlages since on Codacy this does
22+
# F401: Module imported but unused
23+
# F841: Unused variables
24+
# We have some valid cases for both, but PyFlakes does not allow to ignore
25+
# them case by case. flake8 also checks this, so this is redundant.
26+
- F401
27+
- F841
28+
# Ignore syntax errors as reported by PyFlakes since on Codacy this does
2329
# not support Python 3 syntax.
24-
- F999
30+
# - F999

0 commit comments

Comments
 (0)