mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
comment(ruff)
ref: https://github.com/pkgxdev/pantry/pull/4820#discussion_r1450260479
This commit is contained in:
parent
610c845f40
commit
87aa7bdf36
2 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,10 @@ provides:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
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}}
|
- run: mkdir -p .ruff_cache/{{version}}
|
||||||
if: '>=0.1.12'
|
if: '>=0.1.12'
|
||||||
- ruff -e $FIXTURE | grep "\`os\` imported but unused"
|
- ruff -e $FIXTURE | grep "\`os\` imported but unused"
|
||||||
|
|
|
@ -26,6 +26,10 @@ renamed-to: astral.sh/ruff
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
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}}
|
- run: mkdir -p .ruff_cache/{{version}}
|
||||||
if: '>=0.1.12'
|
if: '>=0.1.12'
|
||||||
- ruff -e $FIXTURE | grep "\`os\` imported but unused"
|
- ruff -e $FIXTURE | grep "\`os\` imported but unused"
|
||||||
|
|
Loading…
Reference in a new issue