Started to get tool fatigue in my various Python repos. Got help from Koudai to switch from pyenv+Poetry+nox to Hatch. Then, from flake8/black/pyupgrade to Black.
This is a great video. You highlight what seems to be one of the core problems: if the example you gave, Sphinx happened to be in your test environment. But if it was in its own separate docs environment, which Hatch recommends, then you have to constantly switch between environments so that your editor knows to resolve aspects of the dependencies. The same applies if you have types environment (for something like mypy). I haven't found a good way to deal with this, at least in VS Code. Poetry didn't have this problem since it just uses one VM but broken up by groups of dependencies.
Thanks for this video. Now that it's about 3 months later, how much more comfortable with hatch are you-what are your likes/dislikes? I'm trying to wrap my head around it currently.