Open teruokun opened 3 months ago
Oh nice, this looks great. This project does quite a bit to maintain compatibility with hatch>=1.7,<2.0
- could you add a conditional check on the hatch version before adding the --internal
flag to maintain backwards compatibility?
Sure, I had originally thought about doing that but hesitated since it added more complexity to the overall logic so I thought I'd go simple first, but it should be relatively straight-forwards. I'll try to get that done today
Alright, the updates do a parametrize on the mocked cli tests and adds in the hatch version check (wasn't sure if there was already a utility for that or not, but if there is I'm happy to not re-invent it)
@juftin can you take a look at the newest revision?
With the new internal environments used for
hatch test
,hatch fmt
, and the internaluv
installation, this allows for accounting for the internal environments with--all
or by name when updating the constraint files for those environments.