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:
parent
57f0533e9a
commit
0fdf2513b6
|
@ -733,6 +733,7 @@ linux (4.19.143-1) UNRELEASED; urgency=medium
|
||||||
(CVE-2020-15780)
|
(CVE-2020-15780)
|
||||||
* [rt] Update to 4.19.142-rt63
|
* [rt] Update to 4.19.142-rt63
|
||||||
* net/packet: fix overflow in tpacket_rcv (CVE-2020-14386)
|
* 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
|
-- Salvatore Bonaccorso <carnil@debian.org> Tue, 04 Aug 2020 16:33:40 +0200
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ sources="$AUTOPKGTEST_TMP/sources"
|
||||||
echo "I: Running pycodestyle..."
|
echo "I: Running pycodestyle..."
|
||||||
# Ignore E126,E226,W503 (ignored by default) and also E127,W291 which
|
# Ignore E126,E226,W503 (ignored by default) and also E127,W291 which
|
||||||
# give false positives.
|
# 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
|
# pycodestyle only writes to stdout
|
||||||
echo >&2 "E: pycodestyle detected problems"
|
echo >&2 "E: pycodestyle detected problems"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue