From 29e160e32bbc3d5db1dc7ae1c814d9de560a3617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Thu, 18 Apr 2019 10:04:11 +0200 Subject: [PATCH] Replaced pycodestyle with flake8. --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65e9763d..e6e53c49 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,12 @@ -pycodestyle: - image: docker:stable +flake8: + image: python:3-alpine tags: - docker before_script: - - apk add --no-cache py-pip - - pip install pycodestyle + - python -m pip install --upgrade pip + - pip3 install flake8 script: - # Run pycodestyle (PEP8) check. + # Run flake8 (pycodestyle + pyflakes) check. # https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes # Ignored errors: # - E128: continuation line under-indented for visual indent @@ -14,4 +14,4 @@ pycodestyle: # - E731: do not assign a lambda expression, use a def # - W504: line break after binary operator (conflicts with old pep8 package) # - W505: doc line too long - - pycodestyle --ignore=E128,E501,E731,W504,W505 . + - flake8 --ignore=E128,E501,E731,W504,W505 . -- GitLab