From e91ef6e40f2be30f9af7a86a84255d6bdfe23f51 Mon Sep 17 00:00:00 2001 From: Ian Stapleton Cordasco Date: Tue, 29 Jan 2019 07:58:21 -0600 Subject: Add release notes for 2.5.0 Bump version to 2.5.0 for release --- CHANGES.txt | 18 +++++++++++++++++- 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' -- cgit v1.2.1