@@ -7,10 +7,46 @@ UNRELEASED
7
7
New checks:
8
8
9
9
* 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. PR #502.
11
+ * Add W605 warning for invalid escape sequences in string literals. PR #676.
12
12
* Add W606 warning for 'async' and 'await' reserved keywords being introduced
13
- in Python 3.7
13
+ in Python 3.7. PR #684.
14
+ * Add E252 error for missing whitespace around equal sign in type annotated
15
+ function arguments with defaults values. PR #717.
16
+
17
+ Changes:
18
+
19
+ * An internal bisect search has replaced a linear search in order to improve
20
+ efficiency. PR #648.
21
+ * pycodestyle now uses PyPI trove classifiers in order to document supported
22
+ python versions on PyPI. PR #654.
23
+ * 'setup.cfg' '[wheel]' section has been renamed to '[bdist_wheel]', as
24
+ the former is legacy. PR #653.
25
+ * pycodestyle now handles very long lines much more efficiently for python
26
+ 3.2+. Fixes #643. PR #644.
27
+ * You can now write 'pycodestyle.StyleGuide(verbose=True)' instead of
28
+ 'pycodestyle.StyleGuide(verbose=True, paths=['-v'])' in order to achieve
29
+ verbosity. PR #663.
30
+ * The distribution of pycodestyle now includes the license text in order to
31
+ comply with open source licenses which require this. PR #694.
32
+ * 'maximum_line_length' now ignores shebang ('#!') lines. PR #736.
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. PR #733.
36
+
37
+ Bugs:
38
+
39
+ * Prevent a 'DeprecationWarning', and a 'SyntaxError' in future python, caused
40
+ by an invalid escape sequence. PR #625.
41
+ * Correctly report E501 when the first line of a docstring is too long.
42
+ Resolves #622. PR #630.
43
+ * Support variable annotation when variable start by a keyword, such as class
44
+ variable type annotations in python 3.6. PR #640.
45
+ * pycodestyle internals have been changed in order to allow 'python3 -m
46
+ cProfile' to report correct metrics. PR #647.
47
+ * Fix a spelling mistake in the description of E722. PR #697.
48
+ * 'pycodestyle --diff' now does not break if your 'gitconfig' enables
49
+ 'mnemonicprefix'. PR #706.
14
50
15
51
2.3.1 (2017-01-31)
16
52
------------------
0 commit comments