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-plugin
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
- Make command-line output more beautiful maybe?
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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf2e778cb1e59c8399c28f2bbdd8a207d46bc4ebc42c3d79efc7b74927753857 |
|
MD5 | 0e152e7bd44aa3fe0a5acde3e9834e7d |
|
BLAKE2b-256 | 0cdf17a6b9e7533cc1be2fd6bc2c3a75647f26f0b6a84ccc3e73594abd0f670b |