From 63265e645a00db7fb3167b5678571d4b383285e5 Mon Sep 17 00:00:00 2001 From: s3lph Date: Wed, 6 Jun 2018 13:03:30 +0200 Subject: [PATCH] Put max-line-length of 120 in pycodestyle config, rather than completely disabling E501. --- .gitlab-ci.yml | 2 +- setup.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 setup.cfg diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d7d352..7d58347 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,5 +22,5 @@ codestyle: - apt-get install -y --no-install-recommends python3-dev python3-pip python3-coverage python3-setuptools build-essential - pip3 install wheel pycodestyle mypy - pip3 install -r requirements.txt - - pycodestyle --ignore=E501 matemat + - pycodestyle matemat - mypy --ignore-missing-imports --strict -p matemat diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..62acd3a --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[pycodestyle] +max-line-length = 120 +statistics = True