Pants fmt (Python) takes 0-3 seconds if manually i...
# general
b
Pants fmt (Python) takes 0-3 seconds if manually invoked, and 5-8 seconds if from the PyCharm on-save action. The latter also always says Executor shutdown took unexpectedly long. Just purged cache too 🤔
h
I don't use the PyCharm action, but if you run with
-ldebug
you'll see a lot of detail about what Pants is doing. It sounds like it might be starting up pantsd every time, or something like that.
b
Yeah the only changes in run command is terminal is relative paths, while PyCharm is providing absolute. That shouldn’t change anything right?
I’m even trying out the pyenv backend so it shouldn’t be searching for Python at least