Actually one more question: is there a way for to ...
# general
a
Actually one more question: is there a way for to get pants to tell me if there are any files not owned by a target?
b
pants tailor --check
should do this for files that are "obviously" owned by a backend (e.g.
.py
files without a
python_...
target). I'm not sure about other files, e.g. random
.txt
files lying around, or `.gitignore`s or whatever else ends up in a repo. What types of files are you wanting to be strict about?
a
we actually have a bunch of stuff, some javascript, some jinja templates, css, some public key files!
can I get all files covered by a target - and then remove those from all files in the repo(?)
which i guess is just
pants list ::
b
yeah, maybe either transforming/filtering the output of`pants list ::` or
pants peek ::
, and/or maybe
pants filedeps ::
does it directly