diff --git a/scripts/lint.sh b/scripts/lint.sh new file mode 100755 index 0000000..a143a49 --- /dev/null +++ b/scripts/lint.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -e +set -x + +pre-commit run --all-files --color always diff --git a/scripts/publish.sh b/scripts/publish.sh new file mode 100755 index 0000000..e52a33f --- /dev/null +++ b/scripts/publish.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -e + +uv build +uv publish diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 0000000..439253f --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -e +set -x + +if [ "$1" == "--network" ]; then + coverage run -m pytest -m 'network' +else + coverage run -m pytest -m 'not network' +fi + +coverage report +coverage xml