Is there some way I can get pants with `[python-in...
# general
t
Is there some way I can get pants with
[python-infer].assets = true
to detect a dependency on assets that are loaded from a folder like so:
Copy code
root_dir = "path/to/directory/with/data/files/"
for filename in os.listdir(root_dir):
  with open(root_dir + filename) as f:
    ...
Or would I have to open each file explicitly?
h
That would require writing a plugin
👍 1