-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add automatic PEP8 checking to Travis #965
Comments
@tmylk I am interested in working on the issue. |
Great. Let's add pep8, (not autopep8) to travis.yml. We don't care about long lines so it should be ignored. See this for an example https://gist.github.com/MichaelCurrie/802ce28c993ff2dd632c |
@tmylk we can use pep8 but this will scan the complete repo and while working with the forks I have realised that there are way too many formatting issues. So the Travis build will fail until we rectify them all. So along with pep8 integration do you want that all the errors raised by pep8 should also be fixed under this PR? |
@markroxor Yes, an initial autopep8 is definitely a part of this PR. |
I will be making a PR for autopep8 shortly |
Ping @souravsingh . Thanks for taking this up! |
Apologies for not responding to the issue. I had to some commitments which came up suddenly and had to travel. I will finish up the issue once I get back( which should be by 28th) |
I think this issue is solved, isn't it ? |
@nishnik It was moved to #973 by @souravsingh |
Thanks to @SamriddhiJain adding Hanging Indent to pycodestyle in #1202, we can add a check to Travis. Remaining items:
|
Automatic checks added in #1287. It doesn't include hanging indent yet. Expecting it in a couple of months when PyCQA/pycodestyle#632 is merged in, and flake8 updates its' pycodestyle version. |
It seems that PyCQA/pycodestyle#632 is not moving. An alternative is to use yapf from google. That has a lot of indent flags |
Done a long time ago (now PEP8 checked in the separate job in Travis) |
A good example of this is sklearn
The text was updated successfully, but these errors were encountered: