-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
I saw the ability to select a path in the [[tool.refurb.amend]]
config section. That is very helpful, but it would be great if I could also ignore/skip directories using similar glob syntax as .gitignore
.
It would also be nice to be able to respect .gitignore
and not process any files I have ignored.
Thanks for the great tool!
Proposal
This could be a new config and command-line option:
skip = ["test_*.py", "foo/"]
or
refurb --skip='foo/' .
Another idea is to do this via a .refurbignore
file.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request