This repository has been archived by the owner. It is now read-only.
Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd env flag for running tests with pycodestyle #70
Conversation
|
This looks great to me! I think that having this option, even if it's not on or enforced by default, makes it a lot easier to start tracking down and fixing inconsistencies/issues as we start to get more feature complete. I'd be in favor of merging this in :D |
|
@patrick91 Do you have any feedback for this PR? |
|
@ryanashcraft I'm so sorry for the delay, I've been busy with PyCon Italia and other things, the PR looks great! I'll merge it and we can enable pycodestyle on CI later |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
ryanashcraft commentedMar 4, 2018
Proof of concept for #1. Curious if others think this is actually useful or not.
Add optional support for a
PEP8_VALIDATEenv flag for running prettier output from tests into pycodestyle. If pycodestyle returns any errors, the test fails. There is no impact if thePEP8_VALIDATEflag is not set.I did my best choosing an appropriate subset of pycodestyle errors, but it will likely will need more tweaking.
Adds pycodestyle as a vendor dependency.
Several tests currently fail with the
PEP8_VALIDATEflag enabled:Click to view output