Overview

Request 805552 accepted

- Update to version 2.6.0
* E306: fix detection inside ``async def``.
PR gh#PyCQA/pycodestyle#929.
* E301: fix regression disallowing decorated one-liners.
PR gh#PyCQA/pycodestyle#927.
* E714: fix false positive with chained ``is not``.
PR gh#PyCQA/pycodestyle#931.
- Update to version 2.6.0a1
New checks:
* E225: require whitespace around ``and`` ``in`` ``is`` and ``or``.
PR gh#PyCQA/pycodestyle#847.
Changes:
* E117: fix indentation using tabs by treating as 8-space indents.
PR gh#PyCQA/pycodestyle#837.
* E721: fix false positive with names containg ``istype``.
PR gh#PyCQA/pycodestyle#850.
* E741: allow ``l`` as a named argument in a function call.
PR gh#PyCQA/pycodestyle#853.
* E302: fix false-negative with decorated functions.
PR gh#PyCQA/pycodestyle#859.
* W504: ellipsis (``...``) is no longer treated as a binary operator.
PR gh#PyCQA/pycodestyle#875.
* E402: allow ``with``, ``if``, ``elif``, ``else`` to guard imports.
PR gh#PyCQA/pycodestyle#834.
* Add support for assignment expressions ``:=`` (PEP 572).
PR gh#PyCQA/pycodestyle#879.
* Add support for positional-only arguments ``/`` (PEP 570).
PR gh#PyCQA/pycodestyle#872, gh#PyCQA/pycodestyle#918.
* Add support for python 3.8.
* Add support for matrix multiplication operator ``@`` (PEP 465).
PR gh#PyCQA/pycodestyle#897.
* Support visual indent for continuation lines for ``with`` / ``assert`` /
``raise``. PR gh#PyCQA/pycodestyle#912.
* E302: allow two blank lines after a block of one-liners.
PR gh#PyCQA/pycodestyle#913.
* E302: allow two-and-fewer newlines at the top of the file.
PR gh#PyCQA/pycodestyle#919.
- install executable as alternative


Benjamin Greiner's avatar

okay, any tips how to deal with the __pycache__ without having %{python_sitelib}/* in %files?

Request History
Benjamin Greiner's avatar

bnavigator created request

- Update to version 2.6.0
* E306: fix detection inside ``async def``.
PR gh#PyCQA/pycodestyle#929.
* E301: fix regression disallowing decorated one-liners.
PR gh#PyCQA/pycodestyle#927.
* E714: fix false positive with chained ``is not``.
PR gh#PyCQA/pycodestyle#931.
- Update to version 2.6.0a1
New checks:
* E225: require whitespace around ``and`` ``in`` ``is`` and ``or``.
PR gh#PyCQA/pycodestyle#847.
Changes:
* E117: fix indentation using tabs by treating as 8-space indents.
PR gh#PyCQA/pycodestyle#837.
* E721: fix false positive with names containg ``istype``.
PR gh#PyCQA/pycodestyle#850.
* E741: allow ``l`` as a named argument in a function call.
PR gh#PyCQA/pycodestyle#853.
* E302: fix false-negative with decorated functions.
PR gh#PyCQA/pycodestyle#859.
* W504: ellipsis (``...``) is no longer treated as a binary operator.
PR gh#PyCQA/pycodestyle#875.
* E402: allow ``with``, ``if``, ``elif``, ``else`` to guard imports.
PR gh#PyCQA/pycodestyle#834.
* Add support for assignment expressions ``:=`` (PEP 572).
PR gh#PyCQA/pycodestyle#879.
* Add support for positional-only arguments ``/`` (PEP 570).
PR gh#PyCQA/pycodestyle#872, gh#PyCQA/pycodestyle#918.
* Add support for python 3.8.
* Add support for matrix multiplication operator ``@`` (PEP 465).
PR gh#PyCQA/pycodestyle#897.
* Support visual indent for continuation lines for ``with`` / ``assert`` /
``raise``. PR gh#PyCQA/pycodestyle#912.
* E302: allow two blank lines after a block of one-liners.
PR gh#PyCQA/pycodestyle#913.
* E302: allow two-and-fewer newlines at the top of the file.
PR gh#PyCQA/pycodestyle#919.
- install executable as alternative


Tomáš Chvátal's avatar

scarabeus_iv accepted request

openSUSE Build Service is sponsored by