You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the deprecation of poetry install --sync, poetry sync was introduced. Similary, there is a pre-commit hook for poetry install that also allows to be used with --sync. I think, a poetry-sync hook would make sense.
Impact
A poetry-sync hook would simplify development workflows in team setups. Apart from that, currently, the poetry-install hook does not support all the functionalities it did before.
Issue Kind
Change in current behaviour
Description
With the deprecation of
poetry install --sync
,poetry sync
was introduced. Similary, there is a pre-commit hook forpoetry install
that also allows to be used with--sync
. I think, apoetry-sync
hook would make sense.Impact
A
poetry-sync
hook would simplify development workflows in team setups. Apart from that, currently, thepoetry-install
hook does not support all the functionalities it did before.Workarounds
Pipx offers the
pipx run
command as pre-commit hook. While untested from my side, I think it should be able to runpoetry sync
, please refer to https://pipx.pypa.io/latest/installation/#using-pipx-with-pre-commitThe text was updated successfully, but these errors were encountered: