Skip to content
Snippets Groups Projects
Commit 29e160e3 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Replaced pycodestyle with flake8.

parent beda5b39
No related branches found
No related tags found
No related merge requests found
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 .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment