A poetry plugin that adds/removes type stubs as dependencies like the mypy --install-types command.
Project description
poetry-types
Description
This is a poetry plugin that installs/removes/updates typing stubs via following commands:
poetry types add <package names>
poetry types remove <package names>
poetry types update <package names>
Added packages will be added to the types
group.
Usage examples
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
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.6.0
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
Built Distribution
File details
Details for the file poetry_types-0.6.0.tar.gz
.
File metadata
- Download URL: poetry_types-0.6.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d6fe3f7df270bdaf2c3bf50b46927a2b93c1c071c72a4e8877b4588e54140367
|
|
MD5 |
da9ccbdd30f53c88b33e781d5593bdf5
|
|
BLAKE2b-256 |
ffd544600b307dfdbf792c5226c3e5543271941bef44f07e47212cb3bc987fca
|
Provenance
The following attestation bundles were made for poetry_types-0.6.0.tar.gz
:
Publisher:
python-publish.yml
on jvllmr/poetry-types
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
poetry_types-0.6.0.tar.gz
-
Subject digest:
d6fe3f7df270bdaf2c3bf50b46927a2b93c1c071c72a4e8877b4588e54140367
- Sigstore transparency entry: 159898478
- Sigstore integration time:
-
Permalink:
jvllmr/poetry-types@93f14d16204652c8c8f6f99ab7782b5aceefa0d6
-
Branch / Tag:
refs/tags/v0.6.0
- Owner: https://github.com/jvllmr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
python-publish.yml@93f14d16204652c8c8f6f99ab7782b5aceefa0d6
-
Trigger Event:
release
-
Statement type:
File details
Details for the file poetry_types-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: poetry_types-0.6.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a736352dec34a846127b2b3c4a4bd20d2f1707e18335f692cef156cef452e018
|
|
MD5 |
65fe091e24f6c21c8ff792841e939826
|
|
BLAKE2b-256 |
ebd63be6f050ddf71098ad7421fe88b108c3da48e5ae6b4038804735a8ea2dea
|
Provenance
The following attestation bundles were made for poetry_types-0.6.0-py3-none-any.whl
:
Publisher:
python-publish.yml
on jvllmr/poetry-types
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
poetry_types-0.6.0-py3-none-any.whl
-
Subject digest:
a736352dec34a846127b2b3c4a4bd20d2f1707e18335f692cef156cef452e018
- Sigstore transparency entry: 159898479
- Sigstore integration time:
-
Permalink:
jvllmr/poetry-types@93f14d16204652c8c8f6f99ab7782b5aceefa0d6
-
Branch / Tag:
refs/tags/v0.6.0
- Owner: https://github.com/jvllmr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
python-publish.yml@93f14d16204652c8c8f6f99ab7782b5aceefa0d6
-
Trigger Event:
release
-
Statement type: