diff mbox series

[3/4] scripts: ignore Flake8 tag E275

Message ID 20220808173655.16867-3-cgzones@googlemail.com (mailing list archive)
State Accepted
Commit f304db813efa
Headers show
Series [1/4] ci: bump versions in GitHub Actions | expand

Commit Message

Christian Göttsche Aug. 8, 2022, 5:36 p.m. UTC
./gui/polgengui.py:484:18: E275 missing whitespace after keyword
    ./gui/polgengui.py:530:18: E275 missing whitespace after keyword
    ./python/sepolgen/src/sepolgen/policygen.py:327:19: E275 missing whitespace after keyword
    ./python/sepolgen/src/sepolgen/policygen.py:329:11: E275 missing whitespace after keyword
    ./python/sepolicy/build/lib/sepolicy/__init__.py:453:15: E275 missing whitespace after keyword
    ./python/sepolicy/build/lib/sepolicy/generate.py:1349:28: E275 missing whitespace after keyword
    ./python/sepolicy/build/lib/sepolicy/generate.py:1351:28: E275 missing whitespace after keyword
    ./python/sepolicy/build/lib/sepolicy/gui.py:638:24: E275 missing whitespace after keyword
    ./python/sepolicy/build/lib/sepolicy/gui.py:863:23: E275 missing whitespace after keyword
    ./python/sepolicy/build/lib/sepolicy/gui.py:2177:16: E275 missing whitespace after keyword
    ./python/sepolicy/sepolicy/__init__.py:453:15: E275 missing whitespace after keyword
    ./python/sepolicy/sepolicy/generate.py:1349:28: E275 missing whitespace after keyword
    ./python/sepolicy/sepolicy/generate.py:1351:28: E275 missing whitespace after keyword
    ./python/sepolicy/sepolicy/gui.py:638:24: E275 missing whitespace after keyword
    ./python/sepolicy/sepolicy/gui.py:863:23: E275 missing whitespace after keyword
    ./python/sepolicy/sepolicy/gui.py:2177:16: E275 missing whitespace after keyword
    ./sandbox/sandbox:114:7: E275 missing whitespace after keyword
    ./sandbox/sandbox:134:11: E275 missing whitespace after keyword
    ./sandbox/sandbox:136:7: E275 missing whitespace after keyword

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 scripts/run-flake8 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/scripts/run-flake8 b/scripts/run-flake8
index 67cccfe9..ad15f3d4 100755
--- a/scripts/run-flake8
+++ b/scripts/run-flake8
@@ -58,6 +58,7 @@  IGNORE_LIST="$IGNORE_LIST,E261" # at least two spaces before inline comment
 IGNORE_LIST="$IGNORE_LIST,E265" # block comment should start with '# '
 IGNORE_LIST="$IGNORE_LIST,E266" # too many leading '#' for block comment
 IGNORE_LIST="$IGNORE_LIST,E272" # multiple spaces before keyword
+IGNORE_LIST="$IGNORE_LIST,E275" # missing whitespace after keyword
 IGNORE_LIST="$IGNORE_LIST,E301" # expected 1 blank line, found 0
 IGNORE_LIST="$IGNORE_LIST,E302" # expected 2 blank lines, found 1
 IGNORE_LIST="$IGNORE_LIST,E303" # too many blank lines