Skip to content
Snippets Groups Projects
Commit 1713cb37 authored by Scott Wittenburg's avatar Scott Wittenburg Committed by Todd Gamblin
Browse files

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.
parent 264761cc
No related branches found
No related tags found
No related merge requests found
...@@ -146,6 +146,7 @@ install: ...@@ -146,6 +146,7 @@ install:
- pip install --upgrade setuptools - pip install --upgrade setuptools
- pip install --upgrade codecov - pip install --upgrade codecov
- pip install --upgrade flake8 - pip install --upgrade flake8
- pip install --upgrade pep8-naming
- if [[ "$TEST_SUITE" == "doc" ]]; then pip install --upgrade -r lib/spack/docs/requirements.txt; fi - if [[ "$TEST_SUITE" == "doc" ]]; then pip install --upgrade -r lib/spack/docs/requirements.txt; fi
before_script: before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment