summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2018-06-26 13:32:32 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2018-07-19 00:41:36 -0700
commit1713cb37da6677ccefed6068002dc5c4896edff0 (patch)
treeb8c6ad76f4bfdc08bbf6c7107e42a96160f74c03
parent264761ccb85099a0a21ea32171bfe87181937dfa (diff)
downloadspack-1713cb37da6677ccefed6068002dc5c4896edff0.tar.gz
spack-1713cb37da6677ccefed6068002dc5c4896edff0.tar.bz2
spack-1713cb37da6677ccefed6068002dc5c4896edff0.tar.xz
spack-1713cb37da6677ccefed6068002dc5c4896edff0.zip
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.
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
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: