[Python-modules-team] Bug#843673: python3-pycodestyle: makes flake8 emit warnings on stdout

Antonio Terceiro terceiro at debian.org
Tue Nov 8 18:00:35 UTC 2016


Control: severity -1 grave

On Tue, Nov 08, 2016 at 03:29:31PM -0200, Antonio Terceiro wrote:
> Package: python3-pycodestyle
> Version: 2.1.0-1
> Severity: normal
> 
> after upgrading to version of python3-pycodestyle recently uploaded to
> unstable, flake8 now omits some warnings. to reproduce I downgraded only
> python3-pycodestyle:
> 
> $ flake8
> $ sudo apt install python3-pycodestyle/unstable >/dev/null 2>&1
> $ flake8
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'
> "pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'

actually this breaks flake8, so I am raising the severity:

$ flake8
./squad/api/views.py:21:1: E302 expected 2 blank lines, found 0

$ sudo apt install python3-pycodestyle/unstable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.1.0-1' (Debian:unstable [all]) for 'python3-pycodestyle'
The following packages will be upgraded:
  python3-pycodestyle
1 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
Need to get 0 B/39,7 kB of archives.
After this operation, 6.144 B of additional disk space will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 466636 files and directories currently installed.)
Preparing to unpack .../python3-pycodestyle_2.1.0-1_all.deb ...
Unpacking python3-pycodestyle (2.1.0-1) over (2.0.0-1) ...
Setting up python3-pycodestyle (2.1.0-1) ...
======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======

-----  Show old opportunities as well as new ones: how-can-i-help --old  -----

$ flake8
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'
"pycodestyle" requested unknown parameters causing 'FileProcessor' object has no attribute 'previous_unindented_logical_line'

(i.e. flake8 no longer finds the style issue in place)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20161108/f0cb5802/attachment.sig>


More information about the Python-modules-team mailing list