Skip to content

For devs

Robin Richardson edited this page Mar 29, 2019 · 3 revisions

Sorting out pep8 compliance

The following command works well to make the code pep8 compliant (and hence pass the tests). The important part is to exclude the easyvvuq/__init__.py file from this, as reordering of imports and the version check etc breaks the package.

autopep8 --in-place --aggressive --aggressive --aggressive --exclude easyvvuq/__init__.py -r easyvvuq/

You can do this for the tests/ directory too. There is a fix_pep8.sh bash script in the root dir that does both of these things.