pre-commit-ci / issues

public issues for https://pre-commit.ci
16 stars 3 forks source link

Ruff failed to create cache file #204

Closed tfeldmann closed 5 months ago

tfeldmann commented 5 months ago

Pre-commit works without problems locally, but the CI seems to have caching issues:

check yaml...............................................................Passed
fix end of files.........................................................Passed
mixed line ending........................................................Passed
trim trailing whitespace.................................................Passed
ruff.....................................................................Failed
- hook id: ruff
- exit code: 2

ruff failed
  Cause: Failed to create cache file '/code/.ruff_cache/0.1.12/14578334182369668236'
  Cause: No such file or directory (os error 2)

ruff.....................................................................Failed
- hook id: ruff
- exit code: 2

ruff failed
  Cause: Failed to create cache file '/code/.ruff_cache/0.1.12/8625634061012524870'
  Cause: No such file or directory (os error 2)

ruff-format..............................................................Failed
- hook id: ruff-format
- exit code: 2

ruff failed
  Cause: Failed to create cache file '/code/.ruff_cache/0.1.12/14578334182369668236'
  Cause: No such file or directory (os error 2)

poetry-check.............................................................Passed

https://results.pre-commit.ci/run/github/104198193/1705755029.HYEDkEuzTyiSGb1SW0qxHQ

Link to the project: https://github.com/tfeldmann/organize

asottile commented 5 months ago

ruff 0.1.12 and 0.1.13 are broken. you will have to wait for the next release of ruff

tfeldmann commented 5 months ago

Thanks, works again with 0.1.14 👍