There was an error while loading. Please reload this page.
1 parent 54992c9 commit d9805beCopy full SHA for d9805be
1 file changed
justfile
@@ -22,9 +22,10 @@ adr_check_source := "https://raw.githubusercontent.com/modern-python/.github/mai
22
adr-check:
23
#!/usr/bin/env sh
24
set -eu
25
- file="$(mktemp -d)/test_adr_citations.py"
26
- curl -fsSL "{{ adr_check_source }}" -o "$file"
27
- uv run --no-sync pytest --rootdir=. "$file"
+ dir="$(mktemp -d .adr-check.XXXXXX)"
+ trap 'rm -rf "$dir"' EXIT
+ curl -fsSL "{{ adr_check_source }}" -o "$dir/test_adr_citations.py"
28
+ uv run --no-sync pytest --rootdir=. --noconftest -o addopts= "$dir/test_adr_citations.py"
29
30
test *args:
31
uv run --no-sync pytest {{ args }}
0 commit comments