diff options
author | Javier Jardón <jjardon@gnome.org> | 2017-01-27 18:08:59 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2017-01-29 02:17:21 +0000 |
commit | 3ec1dce9199e5e71a03abcc71687297829816c15 (patch) | |
tree | 5187f1c991e956ce23524c7cedc06774e3467a06 | |
parent | e790571ae605a1049af72df3d40334d17236ffbf (diff) | |
download | ybd-3ec1dce9199e5e71a03abcc71687297829816c15.tar.gz |
Use pycodestyle (formerly called pep8) to check python code style
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | requirements.freeze.txt | 2 | ||||
-rw-r--r-- | requirements.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7cdd0be..0a6f69e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ stages: check_pep8: stage: pep8 - script: "pep8" + script: "pycodestyle --show-source --show-pep8" cache_keys_v1: stage: cache_keys diff --git a/requirements.freeze.txt b/requirements.freeze.txt index 6cd7cd7..d9c1ba2 100644 --- a/requirements.freeze.txt +++ b/requirements.freeze.txt @@ -1,7 +1,7 @@ PyYAML==3.12 requests==2.11.1 sandboxlib==0.3.1 -pep8==1.7.0 +pycodestyle==2.2.0 jsonschema==2.5.1 bottle==0.12.1 cherrypy==8.1.2 diff --git a/requirements.txt b/requirements.txt index 5e618c1..323a254 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ PyYAML requests sandboxlib -pep8 +pycodestyle jsonschema bottle cherrypy |