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 sort of makes sense given that include is only applied at the file level... So we visit each file within bisect/mesonbuild, and each of those files will resolve to the configuration at bisect/mesonbuild/.ruff.toml, which says that they should be included. (I'm not saying it's the right behavior, but I can at least understand why it's happening.)
... such as git worktree clones.
Given a .ruff.toml with the contents:
Every possible error is listed twice, once for the mesonbuild/ directory and once for the bisect/mesonbuild/ directory.
This only seems to happen if the worktree has a .ruff.toml as well (which it will if it is tracked in git).
Using
ruff check mesonbuild/
the traditional way continues to work fine.The text was updated successfully, but these errors were encountered: