Code checking : flake8 and code coverage#375
Conversation
.travis.yml
Outdated
| # Install coveralls to obtain code coverage | ||
| install: | ||
| - "pip install coveralls" | ||
| - "pip install pep8" |
There was a problem hiding this comment.
This line can/should come out. The install of flake8 will pull in pep8 as a dependency. Also, this will help as I am getting ready to rename pep8 -> pycodestyle.
There was a problem hiding this comment.
@IanLee1521 Ok, will remove any explicit reference to pep8
|
@IanLee1521 done |
|
@tgamblin What about adding a 'coverage' badge to the main page? 😄 |
|
@alalazo: yes please |
|
@tgamblin The coverage badge should be there! |
|
@tgamblin Just for the record, the line length here is set at 120 chars, as you guessed yesterday... feel free to change any setting you want... |
|
You must've missed it 😄 |
|
@tgamblin Do you want to change also |
|
oh right -- I missed that. Fixed! Back to 79 chars per PEP8. |
…ack_dev From spack-dev: Fix curl install using Intel compilers (spack#41380)
Modifications :
flake8andchecks to Travispep8yapfwhich is conformant with the checks aboveNotes :
pylintas it requires more set-up. According to the documentation it can be run only on packages or modules, not single files.Follows from #337