aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lint.sh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-03-19 23:18:32 -0400
committerEugene Triguba <hello@eugenetriguba.com>2026-03-19 23:30:32 -0400
commitf570a865379fe62fbb07bb8dc70b2528fa735248 (patch)
treeafdf37f88b973f43cc992a25862b933ece334b6b /scripts/lint.sh
parentAdd type ignore for tomllib import (diff)
downloadtaskipy2-f570a865379fe62fbb07bb8dc70b2528fa735248.zip
Replace github actions CI with sourcehut builds
Diffstat (limited to 'scripts/lint.sh')
-rwxr-xr-xscripts/lint.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/lint.sh b/scripts/lint.sh
new file mode 100755
index 0000000..60704b5
--- /dev/null
+++ b/scripts/lint.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+PYTHON_VERSION="3.14"
+
+main() {
+ uv python install "$PYTHON_VERSION"
+ uv python pin "$PYTHON_VERSION"
+ uv sync --all-extras --all-groups
+ uv run task lint
+}
+
+main "$@"