Commit Graph

3 Commits

Author SHA1 Message Date
Salvatore Bonaccorso 0fdf2513b6 debian/tests/python: pycodestyle: Increase max-line-length to 100
Set the maximum allowed line length to 100 as the default of 79 is too
limiting small. Raising the allowed line length to 100 seems acceptable
enough.

This addresses autopkgtest failure for the python test since the
refactoring changes for debian/bin/gencontrol.py to factor out the
siable flags for installer modules, debug info and signed code.

Fixes: 9b82c45d67dc ("Factor out installer modules disable flag")
Fixes: 5a2d988f8612 ("Factor out debug info disable flag")
Fixes: 710b1f5b6d8c ("Add flag to disable signed code")
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
2020-09-05 09:18:34 +02:00
Ben Hutchings 406f867ae8 debian/tests/python: Fix spurious failure due to misuse of stderr
While pycodestyle and pyflakes wrongly write error messages to stdout,
the unittest module has the opposite bug: it writes successful status
messages to stderr.
2019-02-07 04:14:55 +00:00
Ben Hutchings 487f6f2253 Add missing debian/tests/python
This also should have been included in commit 91fad79906
"Add Python static checks and unit tests to autopkgtest tests".
2018-10-02 23:37:01 +01:00