Last updated:
0 purchases
poetrytypes 0.5.1
poetry-types
Description
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>
Usage examples
poetry types add openpyxl adds openpyxl to your project
poetry types update adds types-openpyxl if openpyxl is present, but types-openpyxl is not
poetry types update removes types-openpyxl if types-openpyxl is present, but openpyxl is not
Installation
Run poetry self add poetry-types for global install or run poetry add -D poetry-types to use this plugin with your project.
Usage with pre-commit
- repo: https://github.com/jvllmr/poetry-types
rev: v0.5.1
hooks:
- id: poetry-types
poetry-types has to be skipped with pre-commit.ci
ci:
skip: [poetry-types]
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.