Open max-muoto opened 1 year ago
Happy to take a stab at this myself as well.
I do think this would be useful and welcome. If you're interested, I think this could be as simple as adding a call to fnmatch()
near https://github.com/Instagram/Fixit/blob/main/src/fixit/config.py#L407 as well as some extra tests to cover the functionality.
It would be convenient to utilize glob patterns when specifying
path
for[[tool.fixit.overrides]]
. For example, I might want to disable a rule for all of my tests: