-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TST: Add pytest-flake8 to travis tests #38
Conversation
Leaving code as is to show how the interface works. Current flake8 issues listed here (starting at line 750): https://travis-ci.org/github/pysat/pysatModels/jobs/677321154 |
Style changes made to remove errors from the flake8 CI test.
The only problem I am not sure how to solve is the 'import not used' when importing things with |
Fixed bug where the wrong number of parenthesis were used to close the statement.
Changing the way indents for appropriate line lengths are performed.
Two ways of solving this:
Poking around in other packages, the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like the contributing documentation to be improved. Doing it myself in the next commit.
Changed line length to be less than 80 characters when possible. Added useful links to help avoid confusion. Fixed testing example so that I could run it. Added information about desired commit comment style.
Fixed bugs in markdown style.
Fixed the markdown codeblock bugs as well as more of the hyperlinks.
Removed trailing `>` on two links.
Footnote was using RST style and not markdown style
Removed footnote in CONTRIBUTING.md due to GitHub: github/markup#498.
Ok, I had to make a compromise with the CONTRIBUTING.md rendering. Eventually this may be improved: miyakogi/m2r#53. |
@jklenzing @rstoneback @asher-pembroke : you all may want to take a look at the changes I made to the CONTRIBUTING.md file, given that this was likely copy-pasted from |
Some weird formatting stuff in readthedocs for contributing: I wonder if we should just use rst instead of markdown for the contributing doc to aid in the import. |
Yes, that's the issue I referenced above. I think it would be simpler all around to switch to RST, especially since GitHub has its own flavour of markdown. |
Description
Adds flake8 testing to the Travis CI tests.
Type of change
How Has This Been Tested?
Tested via Travis CI.
Checklist:
develop
(notmaster
) branchCHANGELOG.md
, summarizing the changesNotes