This is a plugin to poetry for the upcoming poetry 1.2 plugin feature. It installs/removes/updates typing stubs via following commands:
poetry types add <package names>
poetry types remove <package names>
poetry types update <package names>
poetry types add openpyxl
addsopenpyxl
to your projectpoetry types update
addstypes-openpyxl
ifopenpyxl
is present, buttypes-openpyxl
is notpoetry types update
removestypes-openpyxl
iftypes-openpyxl
is present, butopenpyxl
is not
Run poetry self add poetry-types
for global install or run poetry add -D poetry-types
to use this plugin with your project.
- repo: https://github.com/jvllmr/poetry-types
rev: v0.5.1
hooks:
- id: poetry-types
ci:
skip: [poetry-types]