gitlabci: use flake8 instead of comparative pep8

parent f5d940f1
......@@ -17,12 +17,10 @@ test:augeas:
script:
- augparse pydnstest/deckard.aug
test:pep8:
test:flake8:
<<: *test
script:
- cp ci/common.sh /tmp
- cp ci/compare-pep8.sh /tmp
- /tmp/compare-pep8.sh
- python3 -m flake8 --max-line-length=100 . && echo "OK, no flake8 errors detected"
test:pylint:
<<: *test
......
#!/bin/bash
set -o nounset -o xtrace -o errexit
source "$(dirname "$0")/common.sh"
git diff "${MERGEBASE}..${HEAD}" | ${PYTHON} -m pep8 --ignore=W503 --diff --show-source --max-line-length=100 && echo "OK, no PEP8 errors detected"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment