mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
comment(ruff)
ref: https://github.com/pkgxdev/pantry/pull/4820#discussion_r1450260479
This commit is contained in:
parent
610c845f40
commit
87aa7bdf36
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue