Browse Source

Changing to pycodestyle from pep8

Geoffrey Irons 7 years ago
parent
commit
3aaff0e3e4
2 changed files with 6 additions and 5 deletions
  1. 3 3
      .travis.yml
  2. 3 2
      README.md

+ 3 - 3
.travis.yml

@@ -8,12 +8,12 @@ cache:
 
 
 before_install:
 before_install:
     - sudo apt-get update
     - sudo apt-get update
-    - sudo apt-get install --no-install-recommends -y libsdl1.2debian pep8 python3-pip
-    - sudo pip3 install pylint
+    - sudo apt-get install --no-install-recommends -y libsdl1.2debian python3-pip
+    - sudo pip3 install pylint pycodestyle
 
 
 install:
 install:
     - tests/install_blender.sh
     - tests/install_blender.sh
     - source .envs
     - source .envs
 
 
 script:
 script:
-    - make all BLENDER=$BLENDER_BIN PYLINT=pylint
+    - make all BLENDER=$BLENDER_BIN PYLINT=pylint PEP8=pycodestyle

+ 3 - 2
README.md

@@ -27,8 +27,9 @@ This repository includes a Makefile to assist with development. Running
    the `tests/scenes` directory that uses this feature.
    the `tests/scenes` directory that uses this feature.
 2. Runs `diff` on the output files conpared to the reference exports. This acts
 2. Runs `diff` on the output files conpared to the reference exports. This acts
    as a regression test.
    as a regression test.
-3. Tuns a style check using pep8 and pylint. Your code must pass the style 
-   checks to be elegible to merge.
+3. Runs [pycodestyle](http://pycodestyle.pycqa.org/en/latest/) and
+   [pylint](https://www.pylint.org/) style tests. Your code must pass these to
+   be elegible to merge.
 
 
 
 
 Due to differences in blender versions creating minor differences in the 
 Due to differences in blender versions creating minor differences in the