Closed dhruvmanila closed 1 month ago
Huh, that's confusing
Huh, that's confusing
What's confusing? Is it the issue description or the issue itself? I can make it clear if it's the former :)
Haha no, the description is clear. It's unclear to me how / why the cache gets into an invalid state.
Hmm, I'm unable to reproduce this. Changes to the pyproject.toml
are correctly reflected when running ruff check
in the foo
directory
Consider the following project structure:
All Python files contain the same code which raises
undefined-name
:And both
pyproject.toml
file contain:Steps:
ruff clean
ruff check .
which should give no diagnostics because they're currently ignoredignore
line in nested config:baz/pyproject.toml
ruff check .
and you'll see a single diagnostic forbaz/egg/t3.py
ruff check --no-cache .
and you'll see two diagnostics forbaz/t2.py
andbaz/egg/t3.py