careful-address-89803
09/28/2022, 5:15 PMdependency_parser_py
and not dependency_parser.py
? And is it the same reason it doesn't have a shebang?bitter-ability-32190
09/28/2022, 5:17 PMancient-vegetable-10556
09/28/2022, 5:18 PM.py
file if it’s a resource (i.e. to be read as a file, and not as a module), so I needed to rename it to make it accessible as both a python_source
(for linting by pants) and as a file resource (for loading into a sandbox)ancient-vegetable-10556
09/28/2022, 5:19 PMancient-vegetable-10556
09/28/2022, 5:20 PMcareful-address-89803
09/28/2022, 5:25 PMhundreds-father-404
09/28/2022, 5:26 PM/path/to/python my_file.py
, so I think having a shebang would be semanticaly wrong. The idea with a shebang is you can do ./my_file.py
insteadancient-vegetable-10556
09/28/2022, 5:26 PMancient-vegetable-10556
09/28/2022, 5:26 PMancient-vegetable-10556
09/28/2022, 5:27 PMancient-vegetable-10556
09/28/2022, 5:30 PM