[gnome-music/wip/carlosg/tracker3: 27/29] CI: Ignore flake E226 error




commit 1920cd85478d2d831bac96ca0046e614ab0d2e5d
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]