Replies: 1 comment 2 replies
-
Does this not suffice? https://hatch.pypa.io/latest/config/environment/overview/#detached-environments |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In most use cases I tend to keep the virtualenv in which mypy is installed distinct from the one in which the code to be tested is installed with its dependencies: e.g from a linting env I would run
I was wondering if it is possible to automate this setup in
pyproject.toml
: i.e. have the commandhatch run lint:typing
run mypy with the--python-executable
pointing to a different virtual environment.Beta Was this translation helpful? Give feedback.
All reactions