165a539
# let's not report duplicate __init__s
165a539
addFilter(r'W: files-duplicate .+__init__\.py ')
b5468d8
165a539
# setuptools and pkg_resources have duplicated vendored libraries
165a539
# we might want to de-duplicate this somehow in the future, but not yet
165a539
# regex a bit complex to allow arbitrary order
165a539
addFilter(r'W: files-duplicate .+/(setuptools/_vendor/.+ .+/pkg_resources|pkg_resources/_vendor/.+ .+/setuptools)/_vendor/')
b5468d8
165a539
# When duplicate files are found, this errors is produced
165a539
# as long as we filter out the warnings, we need to filter the error as well
165a539
addFilter(r'E: files-duplicated-waste')
165a539
165a539
# no %doc in the wheel packages
165a539
addFilter(r'python-setuptools-wheel.noarch: (E|W): no-documentation')