Add linting to the Chiltepin code to ensure that all contributions comply with the PEP 8 style guidelines. The CI should check for style in all capacities.
flake8 has been incorporated into the Chiltepin environment for both:
Docker containers
HPC Systems
Users can now use flake8 to validate the coding style of their contributions as well as the ability to invoke a linter in the CI to ensure correct style is enforced.
Additionally Spack environments both in:
The Docker container.
Install scripts
flake8 can be installed by adding the py-flake8 package to the Spack environment.
Also added via python -m pip install flake8.
For the Ubuntu Github runner environment, it should be researched which method of installation is best.
The CI step for checking style should precede any building of containers or running of other tests, if possible. That will save time by ensuring style failures get fixed before running more time consuming steps.
Add linting to the Chiltepin code to ensure that all contributions comply with the PEP 8 style guidelines. The CI should check for style in all capacities.
flake8
has been incorporated into the Chiltepin environment for both:flake8
to validate the coding style of their contributions as well as the ability to invoke a linter in the CI to ensure correct style is enforced.Additionally Spack environments both in:
flake8
can be installed by adding thepy-flake8
package to the Spack environment.Also added via
python -m pip install flake8
.The CI step for checking style should precede any building of containers or running of other tests, if possible. That will save time by ensuring style failures get fixed before running more time consuming steps.
Closes Issue #60.