aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-08-16 10:01:41 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-08-16 10:01:41 -0400
commit1e5d159a53b5316c4942e1991e1808585d550ec3 (patch)
tree422b5e079ff409ffbe789151237469b216efb689
parentadd lint step to build (diff)
downloadconfig-file-1e5d159a53b5316c4942e1991e1808585d550ec3.zip
Adjust lint script
-rw-r--r--.build.yml2
-rwxr-xr-xscripts/run-lint.sh11
2 files changed, 12 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index b3ee20f..25e278c 100644
--- a/.build.yml
+++ b/.build.yml
@@ -7,7 +7,7 @@ tasks:
pipx install uv
export PATH="$HOME/.local/bin:$PATH"
cd config-file
- uv run task lint
+ ./scripts/run-lint.sh
- test: |
pipx install uv
export PATH="$HOME/.local/bin:$PATH"
diff --git a/scripts/run-lint.sh b/scripts/run-lint.sh
new file mode 100755
index 0000000..631f4dc
--- /dev/null
+++ b/scripts/run-lint.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+main() {
+ uv python install "3.13"
+ uv python pin "3.13"
+ uv sync --all-extras --all-groups
+ uv run task lint
+}
+
+main "$@"