File: pre-push

package info (click to toggle)
trash-cli 0.24.5.26-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,972 kB
  • sloc: python: 9,789; sh: 121; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
SCRIPT_DIR="$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

set -euo pipefail
set -x

python -m venv .venv
source .venv/bin/activate

"$SCRIPT_DIR/lib/install-python-requirements"
"$SCRIPT_DIR/lib/check-python-dep" tox

tox &&
    scripts/test-sdist &&
    scripts/check-types