check-wheel-contents icon indicating copy to clipboard operation
check-wheel-contents copied to clipboard

Add a config option for setting allowed sets of duplicates for W002

Open jwodder opened this issue 4 years ago • 2 comments

The config option should take a sequence of sets of file paths. If two files in the same set are duplicates of each other, W002 should not be raised (but if a file in a set is duplicate of a file not in the set, the check should still fail).

jwodder avatar Jul 05 '21 21:07 jwodder

This could also default to ignoring __init__.py, as well? That's often correctly an identical file. Ahh, I see #2. Thought I think when the config option is added __init__.py should probably be the default setting. :)

henryiii avatar Oct 05 '22 16:10 henryiii