Enhanced flexibility when creating environments #1689
Unanswered
lfvjimisola
asked this question in
Q&A
Replies: 1 comment
-
@ofek Do you or someone else have the time to look at and answer on this matter? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have a use-case that I can't see works with hatch (multiple inheritance). The challenge here is really if one wants the lint environment to be detached.
Would like to have three environments: default, dev and lint where
lint = black, flake8 etc
dev = default + lint
i.e.
Would need to do something like below as we need to keep environments lint and test a while for backwards CI/CD compatibility. That is,
dev
would have to use several templates (multiple inheritance). Dependencies should be prioritized according to order intemplate(s) = "default, lint, test"
If one is ok with linting not being detached then the following would work:
Beta Was this translation helpful? Give feedback.
All reactions