File: check_pep8.sh

package info (click to toggle)
voctomix 1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,368 kB
  • sloc: python: 4,958; sh: 733; makefile: 23
file content (8 lines) | stat: -rwxr-xr-x 231 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

# ignore import-not-at-top (required by gi)
pycodestyle --ignore=E402 --exclude=voctocore/tests,doc,example-scripts .

# ignore long lines (prefer explanatory test-names)
pycodestyle --ignore=E501 voctocore/tests