You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the first time over hundreds of runs (Ruff 0.3.4/0.3.5), so unfortunately I don't have a reproducer.
This part of the setup is easy to explain though, I'm running multiple linters in parallel, these are the relevant parts of the Makefile:
lint: check format <other linters>
check:
poetry run ruff check
format:
poetry run ruff format --check --diff
and then make -j4 lint is called. The "make" is the GNU Make version 4.x that comes as a package in Ubuntu 22.04.
The non-Ruff linters (like mypy) are explicitly passed the subdirectories src tests so I do not believe they would create .ruff_cache or anything inside Ruff's cache directory at the project top level. All linters are configured to only report errors (so no --fix or similar is used), so the source code is not changed underneath the linters.
I managed to get a file listing from the machine before things were cleared:
I have no idea if the directory/files are as expected, but the file permissions look as I would expect them to look, and the machine has plenty of both inodes and space available.
The text was updated successfully, but these errors were encountered:
## Summary
I believe this should close#10880? The `.gitignore`
creation seems ok, since it truncates, but using `cachedir::is_tagged`
followed by `cachedir::add_tag` is not safe, as `cachedir::add_tag`
_fails_ if the file already exists.
This also matches the structure of the code in `uv`.
Closes#10880.
Glyphack
pushed a commit
to Glyphack/ruff
that referenced
this issue
Apr 12, 2024
## Summary
I believe this should closeastral-sh#10880? The `.gitignore`
creation seems ok, since it truncates, but using `cachedir::is_tagged`
followed by `cachedir::add_tag` is not safe, as `cachedir::add_tag`
_fails_ if the file already exists.
This also matches the structure of the code in `uv`.
Closesastral-sh#10880.
Using Ruff 0.3.5 on Ubuntu 22.04 LTS, I just got this error:
This is the first time over hundreds of runs (Ruff 0.3.4/0.3.5), so unfortunately I don't have a reproducer.
This part of the setup is easy to explain though, I'm running multiple linters in parallel, these are the relevant parts of the Makefile:
and then
make -j4 lint
is called. The "make" is the GNU Make version 4.x that comes as a package in Ubuntu 22.04.The non-Ruff linters (like mypy) are explicitly passed the subdirectories
src tests
so I do not believe they would create.ruff_cache
or anything inside Ruff's cache directory at the project top level. All linters are configured to only report errors (so no--fix
or similar is used), so the source code is not changed underneath the linters.I managed to get a file listing from the machine before things were cleared:
I have no idea if the directory/files are as expected, but the file permissions look as I would expect them to look, and the machine has plenty of both inodes and space available.
The text was updated successfully, but these errors were encountered: