unwind/scripts/lint-py

10 lines
140 B
Bash
Executable file

#!/bin/sh -eu
cd "$RUN_DIR"
[ -z "${DEBUG:-}" ] || set -x
poetry run ruff check --fix . ||:
poetry run ruff format .
poetry run pyright