diff options
-rw-r--r-- | CHANGES.txt | 18 | ||||
-rwxr-xr-x | pycodestyle.py | 2 |
2 files changed, 18 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 48c985c..28d1de8 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,13 +1,29 @@ Changelog ========= -UNRELEASED / 3.0.0 +2.5.0 (2019-01-29) ------------------ +New checks: + +* E117: Over-indented code blocks +* W505: Maximum doc-string length only when configured with --max-doc-length + Changes: * Remove support for EOL Python 2.6 and 3.3. PR #720. * Add E117 error for over-indented code blocks. +* Allow W605 to be silenced by `# noqa` and fix the position reported by W605 +* Allow users to omit blank lines around one-liner definitions of classes and + functions +* Include the function return annotation (``->``) as requiring surrounding + whitespace only on Python 3 +* Verify that only names can follow ``await``. Previously we allowed numbers + and strings. +* Add support for Python 3.7 +* Fix detection of annotated argument defaults for E252 +* Cprrect the position reported by W504 + 2.4.0 (2018-04-10) ------------------ diff --git a/pycodestyle.py b/pycodestyle.py index a022165..0ecd7fd 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -78,7 +78,7 @@ try: except ImportError: from ConfigParser import RawConfigParser -__version__ = '2.4.0' +__version__ = '2.5.0' DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox' DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704,W503,W504' |