Added a codestyle CI job to check for PEP8 compliance.

This commit is contained in:
s3lph 2018-06-05 22:32:09 +02:00
parent 8059765410
commit 82eb4f37f1
2 changed files with 9 additions and 1 deletions

View file

@ -5,7 +5,14 @@ test:
script: script:
- apt-get update -qy - apt-get update -qy
- apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential - apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential
- pip3 install wheel
- pip3 install -r requirements.txt - pip3 install -r requirements.txt
- python3-coverage run --branch -m unittest discover matemat - python3-coverage run --branch -m unittest discover matemat
- python3-coverage report -m --include 'matemat/*' --omit '*/test_*.py' - python3-coverage report -m --include 'matemat/*' --omit '*/test_*.py'
codestyle:
script:
- apt-get update -qy
- apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential
- pip3 install -r requirements.txt
- pip3 install pycodestyle
- pycodestyle matemat

View file

@ -1,2 +1,3 @@
wheel
bcrypt bcrypt
apsw apsw