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>
This commit is contained in:
Salvatore Bonaccorso 2020-08-27 20:28:36 +02:00
parent 57f0533e9a
commit 0fdf2513b6
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -733,6 +733,7 @@ linux (4.19.143-1) UNRELEASED; urgency=medium
(CVE-2020-15780)
* [rt] Update to 4.19.142-rt63
* net/packet: fix overflow in tpacket_rcv (CVE-2020-14386)
* debian/tests/python: pycodestyle: Increase max-line-length to 100.
-- Salvatore Bonaccorso <carnil@debian.org> Tue, 04 Aug 2020 16:33:40 +0200

2
debian/tests/python vendored
View File

@ -22,7 +22,7 @@ sources="$AUTOPKGTEST_TMP/sources"
echo "I: Running pycodestyle..."
# Ignore E126,E226,W503 (ignored by default) and also E127,W291 which
# give false positives.
if ! xargs pycodestyle --ignore E126,E127,E226,W291,W503 < "$sources"; then
if ! xargs pycodestyle --max-line-length=100 --ignore E126,E127,E226,W291,W503 < "$sources"; then
# pycodestyle only writes to stdout
echo >&2 "E: pycodestyle detected problems"
fi