mirror of
https://github.com/evroon/bracket.git
synced 2026-01-18 02:58:49 -05:00
Runs alembic migration automatically on fastapi startup. Can be disabled using config setting.
10 lines
254 B
Bash
Executable File
10 lines
254 B
Bash
Executable File
#!/bin/bash
|
|
set -evo pipefail
|
|
|
|
ruff format .
|
|
ruff --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
|