A poetry plugin that adds/removes type stubs as dependencies like the mypy --install-types command.
Reason this release was yanked:
Incompatible with poetry>=1.5
Project description
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 SQLAlchemy
addstypes-SQLAlchemy
to your projectpoetry types update
addstypes-SQLAlchemy
ifSQLAlchemy
is present, but nottypes-SQLAlchemy
poetry types update
removestypes-SQLAlchemy
iftypes-SQLAlchemy
is present, but notSQLAlchemy
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.3.3
hooks:
- id: poetry-types
poetry-types has to be skipped with pre-commit.ci
ci:
skip: [poetry-types]
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
poetry-types-0.3.4.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for poetry_types-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4afde2b819ac2d1f29c68d6b943885b5ccdca08a26fa8a64756e9d2c16de4c2 |
|
MD5 | 8a58bde4cd363d61d944f5dbf3c8305e |
|
BLAKE2b-256 | 93b85dcded9a2c7ff1b805668f25b71aa8d3e155bbad337a123a4eedfa44f244 |