mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Allow overriding config for folders (rather than modules)

Open chrisjsewell opened this issue 4 months ago • 0 comments

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

chrisjsewell avatar Oct 17 '24 00:10 chrisjsewell