Skip to content

Configuration file entries for stubgenΒ #19602

@holmesv3

Description

@holmesv3

Feature

Add configuration file options to control stubgen.

Pitch

The mypy stubgen docs indicate there are several command line options to configure stub generation. It surprises me that those aren't able to be configured from a table in the pyproject.toml (or other config option) in a section like [tool.mypy.stubgen] or something. I'm lazy and since I use the same options and module(s) every time I run I'd like to be able to set those in a configuration file and just run stubgen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions