Files
bracket/backend/precommit.sh
Erik Vroon d6449e8d05 Customize rankings (#797)
Allows you to add rankings that specify how the ranking per stage item
is calculated.
Points are now stored per stage item input.
2024-09-07 12:03:16 +02:00

10 lines
260 B
Bash
Executable File

#!/bin/bash
set -evo pipefail
ruff format .
ruff check --fix .
! vulture | grep "unused function\|unused class\|unused method"
dmypy run -- --follow-imports=normal --junit-xml= .
ENVIRONMENT=CI pytest --cov --cov-report=xml . -vvv
pylint cli.py bracket tests