mirror of
https://github.com/evroon/bracket.git
synced 2025-12-24 06:39:02 -05:00
Store the `openapi.json` of the backend in the repo and import it using https://heyapi.dev/ to generate TypeScript types for the backend API query params, responses, bodies.
12 lines
356 B
Bash
Executable File
12 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
set -evo pipefail
|
|
|
|
uv run ruff format .
|
|
uv run ruff check --fix .
|
|
! uv run vulture | grep "unused function\|unused class\|unused method"
|
|
uv run pyrefly check
|
|
uv run ./cli.py generate-openapi
|
|
uv run dmypy run -- --follow-imports=normal --junit-xml= .
|
|
ENVIRONMENT=CI uv run pytest --cov --cov-report=xml . -vvv
|
|
uv run pylint cli.py bracket tests
|