diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d451a05..8305335 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -140,6 +140,8 @@ repos: - earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.18.0#subdirectory=earned_time - freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.0#subdirectory=freedays - sickdays @ git+https://github.com/kuhyx/utils@sickdays-v0.3.0#subdirectory=sickdays + # Same pin as workout_app/tools/render_finish_chime.sh installs. + - music_theory @ git+https://github.com/kuhyx/utils@music-theory-v0.1.0#subdirectory=music_theory - mcp>=2,<3 - pydantic - id: pylint diff --git a/stronglift_replacement/workout_app/tools/render_finish_chime.sh b/stronglift_replacement/workout_app/tools/render_finish_chime.sh index c876ff4..445ab99 100755 --- a/stronglift_replacement/workout_app/tools/render_finish_chime.sh +++ b/stronglift_replacement/workout_app/tools/render_finish_chime.sh @@ -10,7 +10,8 @@ # Requires: python3 (with venv), network access to github.com. set -euo pipefail -readonly TOOLS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +TOOLS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +readonly TOOLS_DIR readonly TOOLKIT_SPEC="music_theory @ git+https://github.com/kuhyx/utils@music-theory-v0.1.0#subdirectory=music_theory" readonly OUT_DIR="${1:-${TOOLS_DIR}/../assets/sounds}" WORK_DIR=""