File: test.sh

package info (click to toggle)
python-restructuredtext-lint 1.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 309; sh: 25; makefile: 14
file content (10 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
# Exit on first error and echo commands
set -e
set -x

# Run our linter and tests
if test "$SKIP_LINT" != "TRUE"; then
  flake8 --max-line-length=120 restructuredtext_lint
fi
nosetests --nocapture $*