diff options
author | Jakob Gerhard Martinussen <jakobgm@gmail.com> | 2018-04-09 20:22:19 +0200 |
---|---|---|
committer | Jakob Gerhard Martinussen <jakobgm@gmail.com> | 2018-04-09 20:22:34 +0200 |
commit | 41438bf9a8ccebf392bd005237e845b6610e7e9b (patch) | |
tree | 9b64018c82e1b7f873adce5524050d21366420cc | |
parent | 5d31e7ee2e5996be10a0452d4b01b799a6698ad5 (diff) | |
download | pep8-41438bf9a8ccebf392bd005237e845b6610e7e9b.tar.gz |
Add changelog items for 2.3.1...master
-rw-r--r-- | CHANGES.txt | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 25b8558..e86aa99 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,10 +7,46 @@ UNRELEASED New checks: * Add W504 warning for checking that a break doesn't happen after a binary - operator. This check is ignored by default -* Add W605 warning for invalid escape sequences in string literals + operator. This check is ignored by default. +* Add W605 warning for invalid escape sequences in string literals. * Add W606 warning for 'async' and 'await' reserved keywords being introduced - in Python 3.7 + in Python 3.7. +* Add E252 error for missing whitespace around equal sign in type annotated + function arguments with defaults values. + +Changes: + +* An internal bisect search has replaced a linear search in order to improve + efficiency. +* pycodestyle now uses PyPI trove classifiers in order to document supported + python versions on PyPI. +* 'setup.cfg' '[wheel]' section has been renamed to '[bdist_wheel]', as + the former is legacy. +* pycodestyle now handles very long lines much more efficiently for python + 3.2+. Fixes #643. +* You can now write 'pycodestyle.StyleGuide(verbose=True)' instead of + 'pycodestyle.StyleGuide(verbose=True, paths=['-v'])' in order to achieve + verbosity. +* The distribution of pycodestyle now includes the licence text in order to + comply with open source licenses which require this. +* 'maximum_line_length' now ignores shebang ('#!') lines. +* Add configuration option for the allowed number of blank lines. It is + implemented as a top level dictionary which can be easily overwritten. Fixes + #732. + +Bugs: + +* Prevent a 'DeprecationWarning', and a 'SyntaxError' in future python, caused + by an invalid escape sequence. +* Correctly report E501 when the first line of a docstring is too long. + Resolves #622. +* Support variable annotation when variable start by a keyword, such as class + variable type annotations in python 3.6. +* pycodestyle internals have been changed in order to allow 'python3 -m + cProfile' to report correct metrics. +* Fix a spelling mistake in the description of E722. +* 'pycodestyle --diff' now does not break if your 'gitconfig' enables + 'mnemonicprefix'. 2.3.1 (2017-01-31) ------------------ |