14
0

Accepting request 670469 from home:jayvdb:branches:devel:languages:python

- update to version 2.5.0
  * 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
    + Correct the position reported by W504
- Removed comp_w_changes_tokenize.patch as it was merged into version 2.5.0

OBS-URL: https://build.opensuse.org/request/show/670469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=12
This commit is contained in:
Tomáš Chvátal
2019-02-01 10:49:05 +00:00
committed by Git OBS Bridge
parent bb4ba55772
commit 086fb9c49a
5 changed files with 28 additions and 41 deletions

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Jan 31 22:08:31 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- update to version 2.5.0
* 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
+ Correct the position reported by W504
- Removed comp_w_changes_tokenize.patch as it was merged into version 2.5.0
-------------------------------------------------------------------
Tue Oct 2 14:59:36 UTC 2018 - Matěj Cepl <mcepl@suse.com>