Put max-line-length of 120 in pycodestyle config, rather than completely disabling E501.

This commit is contained in:
s3lph 2018-06-06 13:03:30 +02:00
parent 33888fe597
commit 63265e645a
2 changed files with 4 additions and 1 deletions

View file

@ -22,5 +22,5 @@ codestyle:
- 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 pycodestyle mypy - pip3 install wheel pycodestyle mypy
- pip3 install -r requirements.txt - pip3 install -r requirements.txt
- pycodestyle --ignore=E501 matemat - pycodestyle matemat
- mypy --ignore-missing-imports --strict -p matemat - mypy --ignore-missing-imports --strict -p matemat

3
setup.cfg Normal file
View file

@ -0,0 +1,3 @@
[pycodestyle]
max-line-length = 120
statistics = True