Skip to content

Allow overriding config for folders (rather than modules) #17977

Open
@chrisjsewell

Description

Feature

Allow for e.g.

[[tool.mypy.overrides]]
files = ["scripts/*", "tests/*"]
disallow_any_explicit = false

Pitch

Currently, it appears one can only apply overrides for certain modules (and their children).
This makes it impossible to use with files not in a package, such as for folders of scripts or tests

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions