https://pantsbuild.org/ logo
#development
Title
# development
h

happy-kitchen-89482

01/09/2023, 6:24 PM
Is there any important reason why the dep inference script is
dependency_parser_py
and not
dependency_parser.py
? It inconveniently means that IDEs treat it like a text file instead of a python file.
Everything seems to work just fine if I rename it
And it already has two owning targets, one as a resource and one as a python_source for linting, so we already treat it as a regular python source
If it's to prevent us importing it in regular Pants code, we can now use dependency rules to achieve that
b

bitter-ability-32190

01/09/2023, 6:29 PM
Git history, my friend
IIRC it was Chris' PyOxy'd Pants work
h

happy-kitchen-89482

01/09/2023, 6:34 PM
@ancient-vegetable-10556 is this still necessary?
Or was this only a pyoxy thing?
Which I will gladly close if it turns out that the funky name is still necessary
a

ancient-vegetable-10556

01/09/2023, 6:48 PM
That was definitely only a pyoxy thing
I’d happily back out all manner of pyox things
h

happy-kitchen-89482

01/09/2023, 6:49 PM
Cool
My IDE thanks you