Skip to content

Commit

Permalink
style: Add pep8-naming plugin to flake8
Browse files Browse the repository at this point in the history
Enforce PEP8 naming conventions for things like variables, methods,
classes, etc.

See the table here:

https://pypi.org/project/pep8-naming/

...for error codes emitted, in case some should be added as
exceptions in the flake8 configuration files.
  • Loading branch information
scottwittenburg authored and tgamblin committed Jul 19, 2018
1 parent 264761c commit 1713cb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -146,6 +146,7 @@ install:
- pip install --upgrade setuptools
- pip install --upgrade codecov
- pip install --upgrade flake8
- pip install --upgrade pep8-naming
- if [[ "$TEST_SUITE" == "doc" ]]; then pip install --upgrade -r lib/spack/docs/requirements.txt; fi

before_script:
Expand Down

0 comments on commit 1713cb3

Please sign in to comment.