A poetry plugin that automatically adds type subs as dependencies like the mypy --install-types command.
Reason this release was yanked:
This version was compatible with beta versions of poetry 1.2
Project description
poetry-types
This is a plugin to poetry for the upcoming poetry 1.2 plugin feature. It automatically installs/removes typing stubs when adding, removing or updating packages via commands. Additionally, there are commands you can use to trigger this plugins behaviour:
poetry types add <package names>
poetry types remove <package names>
poetry types update
Installation
Run poetry plugin add poetry-types
for global install or run poetry add poetry-types
to use this plugin with your project.
Note: With poetry version 1.2.0a2 poetry removes all dependencies when using poetry remove
and so does
poetry types remove
. Using poetry from the git repo is recommended when testing this plugin.
TODO:
- Add tests (Waiting for the next poetry 1.2 release)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for poetry_types-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0fab14e026ca99f248c3aebe17ac24bd673811dd672f6d47296a505170fa8b |
|
MD5 | 88babc024ba2aea1e6a43f48c54391de |
|
BLAKE2b-256 | 3b8757a985515352a8cf1ef5a22cdb563734e25123f93ff14681e14c61855cfd |