Conversation
This flips the W503 rule to enforce line breaks before binary operators. Related PyCQA#498
From https://docs.python.org/3/whatsnew/3.6.html#new-keywords > async and await are not recommended to be used as variable, class, > function or module names. Introduced by PEP 492 in Python 3.5, they > will become proper keywords in Python 3.7. Starting in Python 3.6, the > use of async or await as names will generate a DeprecationWarning. By adding a warning to pycodestyle.py these future warnings and syntax errors can be caught during static code analysis. The await expression tests were taken from PEP-492. https://www.python.org/dev/peps/pep-0492/#id58
Allow continuation of verbosity level
Plus Travis CI typo
Add Python 3.6 to test list in dev docs
Fix handling of diffs with mnemonic prefixes
This flips the W503 rule to enforce line breaks before binary operators. Related PyCQA#498
Add W504 for line breaks before binary operators
Cross reference changes in pull request PyCQA#502 which added this.
Describe code W504 line break after binary operator
Add E252 on missing whitespace for annotated parameter defaults
Add W606 warning for async and await keywords in Python 3.7
Python 3.7 added a warning for a future feature of nested regular expressions. To avoid this warning we escape what is not a nested regex. This also keeps track of the `async` keyword and handles it appropriately. Closes PyCQAgh-728
E225 Check for space around boolean operators
Fix E721 false positive
Fixes some issues with E741 detection
Fix E302 false negative in presence of decorators.
Ellipsis is not a binary operator
Introduced in Python 3.8 with PEP-572. Refer to https://www.python.org/dev/peps/pep-0572.
E402: Add "with" statement to allowed keywords
Add support for assignment expressions
Co-Authored-By: Anthony Sottile <asottile@umich.edu>
Added support for PEP 570 (PyCQA#867)
Adds matmul operator support, fixes PyCQA#768
…consistency CONTRIBUTING: Make virtualenv dir name consistent with gitignore
Conflicts: docs/intro.rst pycodestyle.py testsuite/E12not.py
Conflicts: testsuite/E50.py
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
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.