Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

poetry-types

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poetry-types

A poetry plugin that adds/removes type stubs as dependencies like the mypy --install-types command.

  • 0.5.1
  • PyPI
  • Socket score

Maintainers
1

poetry-types

PyPI version GitHub license GitHub issues PyPI - Downloads Tests

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 openpyxl adds openpyxl to your project
  • poetry types update adds types-openpyxl if openpyxl is present, but types-openpyxl is not
  • poetry types update removes types-openpyxl if types-openpyxl is present, but openpyxl 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.5.1
  hooks:
    - id: poetry-types

poetry-types has to be skipped with pre-commit.ci

ci:
  skip: [poetry-types]

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc