From 1713cb37da6677ccefed6068002dc5c4896edff0 Mon Sep 17 00:00:00 2001 From: Scott Wittenburg Date: Tue, 26 Jun 2018 13:32:32 -0600 Subject: style: Add pep8-naming plugin to flake8 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. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index c3d65f0e63..538aad5133 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: -- cgit v1.2.3-60-g2f50