Closed
Description
Description
In CONTRIBUTING.md, the following instructions are included for how to run ruff locally:
Lint code by moving into the
/tagstudio
directory withcd tagstudio
and runningruff --config ../pyproject.toml
.
When running this on my machine on commit 2767daf, I get the following output (just using grep to make the output shorter):
However, this commit just ran through CI and only had 1 error. If I instead move one directory up and run ruff check --config pyproject.toml
, I get the correct output:
Solution
This is probably just a bug in ruff. For the meantime, though, it probably wouldn't be a bad idea to include something about this in CONTRIBUTING.md for linux users.
Versions
-
Linux 6.11.3
-
Ruff 0.7.2