File: use-pycodestyle.patch

package info (click to toggle)
python-cliapp 1.20180812.1-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 392 kB
  • sloc: python: 3,172; makefile: 5; sh: 5
file content (13 lines) | stat: -rw-r--r-- 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Use pycodestyle instead of pep8
 In buster pep8 was a symlink to pycodestyle, in bullseye it is gone completely.
Author: Peter Michael Green <plugwash@debian.org>

--- python-cliapp-1.20180812.1.orig/check
+++ python-cliapp-1.20180812.1/check
@@ -5,5 +5,5 @@ set -eu
 python -m CoverageTestRunner --ignore-missing-from=without-tests
 python3 -m CoverageTestRunner --ignore-missing-from=without-tests
 rm -f .coverage
-pep8 cliapp
+pycodestyle cliapp
 # PYTHONPATH=. pylint --rcfile=pylint.conf cliapp *.py test-plugins/*.py