Skip to main content

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


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.2.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

poetry_types-0.2.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page