Commit 4ada2ec1 authored by Adrien Dorsaz's avatar Adrien Dorsaz

gitlab-ci: enforce pep8 style

parent 436d055b
Pipeline #270 passed with stages
in 24 minutes and 48 seconds
...@@ -73,6 +73,12 @@ lint: ...@@ -73,6 +73,12 @@ lint:
- pylint3 tests/staging_test_acme_account_deactivate.py - pylint3 tests/staging_test_acme_account_deactivate.py
- pylint3 tests/staging_test_acme_account_rollover.py - pylint3 tests/staging_test_acme_account_rollover.py
pep8:
extends: .check
script:
- pycodestyle --max-line-length=100 --ignore=E401,W503 --exclude=tests .
- pycodestyle --max-line-length=100 --ignore=E722 tests
jessie-ut: jessie-ut:
extends: .unit_test extends: .unit_test
image: acme-dns-tiny:jessie-slim image: acme-dns-tiny:jessie-slim
......
...@@ -7,7 +7,7 @@ RUN apt-get update \ ...@@ -7,7 +7,7 @@ RUN apt-get update \
python3-minimal python3-dnspython python3-requests \ python3-minimal python3-dnspython python3-requests \
pylint3 \ pylint3 \
# install recommends for coverage, to include jquery # install recommends for coverage, to include jquery
&& apt-get install -y python3-coverage \ && apt-get install -y python3-coverage pycodestyle \
&& apt-get clean && apt-get clean
COPY . . COPY . .
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