Open jsirois opened 5 years ago
Noting that we should be able to kill build-support/bin/check_header.py
and just replace its invocations with ./pants --no-v1 --v2 validate ::
once this enhancement allows us to fully configure build-support/regexes/config.yaml
for our codebase.
Right now, content checks are restricted to path sets built up from path allow lists. Often it would be more robust to apply a content check to all files of a certain type save some small handfull. For those cases adding to a blocklist is both more concise and robust than enumerating allow listed directories.
Concretely, this sort of config today:
Could be written as follows with blacklists: