forked from PyCQA/pycodestyle
-
Notifications
You must be signed in to change notification settings - Fork 1
multi-indent rebase on PyCQA/pycodestyle master branch #1
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
Open
choucavalier
wants to merge
80
commits into
ArgentFalcon:master
Choose a base branch
from
choucavalier:multi-indent
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check for prohibited identifiers occuring to the lhs of an assignment operator or after the 'as' keyword. Closes PyCQA#341
This fixes issue PyCQA#518, pep8 still referenced in the cli help command As a side effect, `[pep8]` in setup.cfg now becomes `[pycodestyle]` Also, changed the path for the config file from ~/.config/pep8 to ~/.config/pycodestyle These feel like changes that should have come with the jump to version 2.0.0, as they are breaking, but support for as a name can still be added if it's desired enough
Change all references to the pep8 project to say pycodestyle
Update Python version list in docs
This builds upon and closes PyCQA#533
This test passes currently, but would need to be updated if the functionality changes.
Detect single letter variable names enumerated in PEP-0008
This also updates the Checker to update it's state for physical lines as well as logical lines. This allows maximum_line_length to rely on Checker state for its noqa check. Closes PyCQA#538
Neither the warnings modules, nor the two local assignments in pycodestyle's newest check were being used. This removes them and fixes pyflakes errors raised as a result.
Remove unused imports and assignments
Update maximum_line_length to use Checker.noqa
Update CHANGES.txt for 2.1.0 release.
…-config Check for both [pep8] and [pycodestyle] config sections.
Signed-off-by: Ian Lee <[email protected]>
Fix E305 regression in 2.1.0 due to fix for PyCQA#400
Add E306 to docs
Signed-off-by: Ian Lee <[email protected]>
Prevent lines like
classification_error = 0
From becoming treated as a class.
Warn about bare except clause
First step on getting PyCQA#206 merged into master. Next steps: - New tests for strange indents - Fix help string for to be more useful to users - Fix the documentation to account for the new cli input
Test that setting the indent_size to something other than 4 actually works and gives us correct Errors
(Related to a comment on the original pull request) Also, updated docs/intro.rst with the new command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.