Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check the new code in a side-directory
This makes a better Ruff linter isolation; without this, Ruff traverses all the gitroot sub-directories, including separate worktrees, temporary files, etc. Then, since potential issues in such files are not present in the "old code" (even before linted on a clean checkout), vcs-diff-lint would report such irrelevant errors as "new" issues. After this commit, both the old and new code is analyzed in a clean separate temporary directory. Complements: 38412fb
- Loading branch information