[gnome-music/wip/jfelder/tracker3-rebased: 44/46] CI: Ignore flake E226 error




commit 7f7064b562944c6c6b4f83293f02c1da5a1ee0e2
Author: Jean Felder <jfelder src gnome org>
Date:   Wed May 20 02:25:46 2020 +0200

    CI: Ignore flake E226 error
    
    E226 says that "There should be one space before and after an
    arithmetic operator".
    This error is disabled on a default flake8 configuration (the --ignore
    flags overrides it) because it is not PEP-8 compliant.
    
    The main argument against this rule is that it obfuscates complex
    arithmetic operations.

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a484574a..dd567068 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,4 +27,4 @@ flake8:
   stage: check
   script:
     - dnf install -y python3-flake8
-    - flake8 --ignore E402,W503 --show-source gnomemusic/
+    - flake8 --ignore E226,E402,W503 --show-source gnomemusic/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]