average-australia-85137
07/08/2021, 7:19 PMhundreds-father-404
07/08/2021, 7:25 PM--check option perhaps that will error if files are missing. Maybe even hook it up to ./pants lint
We would probably need a way to tell ./pants tailor to ignore certain dirs tho, which right now you can use pants_ignore but there may be a better approachrapid-bird-79300
07/08/2021, 7:39 PMpants_ignore is up to date because it will target non-source roots (+1 for the --check option and ./pants lint integration).
I think the git hook is a good idea. Developers can also run this check manually, we have a PyCharm external tool to help with this too.