File: lint

package info (click to toggle)
python-djantic 0.7.0-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 476 kB
  • sloc: python: 2,599; sh: 19; makefile: 14
file content (12 lines) | stat: -rwxr-xr-x 221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

export PREFIX=""
if [ -d "venv" ] ; then
    export PREFIX="venv/bin/"
fi

set -ex

${PREFIX}poetry run black djantic tests --check
${PREFIX}poetry run flake8 djantic tests
# ${PREFIX}poetry run mypy djantic