FitTrackee/docker/lint-python.sh

10 lines
200 B
Bash
Executable File

#!/bin/bash
set -e
cd /usr/src/app
source .env
mypy fittrackee
pytest --isort --black -m "isort or black" fittrackee e2e --ignore=fittrackee/migrations
echo 'Running flake8...'
flake8 fittrackee e2e