Skip to content

Do not stop path traversal at excluded directories and files - #392

Merged
weibullguy merged 1 commit into
PyCQA:masterfrom
jcazevedo:fix-traversal-exclusions
Oct 9, 2026
Merged

weibullguy merged 1 commit into
PyCQA:masterfrom
jcazevedo:fix-traversal-exclusions

Conversation

@jcazevedo

Copy link
Copy Markdown
Contributor

In recursive mode, the path traversal would stop at the first excluded directory or file, not including files not covered in the --exclude criteria.

@weibullguy
weibullguy merged commit 9f11b4f into PyCQA:master Oct 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants