@@ -7,10 +7,46 @@ UNRELEASED
77New checks:
88
99* Add W504 warning for checking that a break doesn't happen after a binary
10- operator. This check is ignored by default
11- * Add W605 warning for invalid escape sequences in string literals
10+ operator. This check is ignored by default.
11+ * Add W605 warning for invalid escape sequences in string literals.
1212* Add W606 warning for 'async' and 'await' reserved keywords being introduced
13- in Python 3.7
13+ in Python 3.7.
14+ * Add E252 error for missing whitespace around equal sign in type annotated
15+ function arguments with defaults values.
16+
17+ Changes:
18+
19+ * An internal bisect search has replaced a linear search in order to improve
20+ efficiency.
21+ * pycodestyle now uses PyPI trove classifiers in order to document supported
22+ python versions on PyPI.
23+ * 'setup.cfg' '[wheel]' section has been renamed to '[bdist_wheel]', as
24+ the former is legacy.
25+ * pycodestyle now handles very long lines much more efficiently for python
26+ 3.2+. Fixes #643.
27+ * You can now write 'pycodestyle.StyleGuide(verbose=True)' instead of
28+ 'pycodestyle.StyleGuide(verbose=True, paths=['-v'])' in order to achieve
29+ verbosity.
30+ * The distribution of pycodestyle now includes the licence text in order to
31+ comply with open source licenses which require this.
32+ * 'maximum_line_length' now ignores shebang ('#!') lines.
33+ * Add configuration option for the allowed number of blank lines. It is
34+ implemented as a top level dictionary which can be easily overwritten. Fixes
35+ #732.
36+
37+ Bugs:
38+
39+ * Prevent a 'DeprecationWarning', and a 'SyntaxError' in future python, caused
40+ by an invalid escape sequence.
41+ * Correctly report E501 when the first line of a docstring is too long.
42+ Resolves #622.
43+ * Support variable annotation when variable start by a keyword, such as class
44+ variable type annotations in python 3.6.
45+ * pycodestyle internals have been changed in order to allow 'python3 -m
46+ cProfile' to report correct metrics.
47+ * Fix a spelling mistake in the description of E722.
48+ * 'pycodestyle --diff' now does not break if your 'gitconfig' enables
49+ 'mnemonicprefix'.
1450
15512.3.1 (2017-01-31)
1652------------------
0 commit comments