Jacob Heider 2024-01-12 10:33:24 -05:00
parent 610c845f40
commit 87aa7bdf36
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6
2 changed files with 8 additions and 0 deletions

View file

@ -22,6 +22,10 @@ provides:
test:
script:
# v0.1.12 introduced this test error:
# ruff failed
# Cause: Failed to create cache file '/__w/pantry/pantry/testbeds/astral.sh__ruff-0.1.12/.ruff_cache/0.1.12/10391082687706843805'
# Cause: No such file or directory (os error 2)
- run: mkdir -p .ruff_cache/{{version}}
if: '>=0.1.12'
- ruff -e $FIXTURE | grep "\`os\` imported but unused"

View file

@ -26,6 +26,10 @@ renamed-to: astral.sh/ruff
test:
script:
# v0.1.12 introduced this test error:
# ruff failed
# Cause: Failed to create cache file '/__w/pantry/pantry/testbeds/github.com__charliermarsh__ruff-0.1.12/.ruff_cache/0.1.12/10391082687706843805'
# Cause: No such file or directory (os error 2)
- run: mkdir -p .ruff_cache/{{version}}
if: '>=0.1.12'
- ruff -e $FIXTURE | grep "\`os\` imported but unused"