Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrisjsewell opened this issue Oct 17, 2024 · 0 comments
Open

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

chrisjsewell opened this issue Oct 17, 2024 · 0 comments
Labels

Comments

@chrisjsewell
Copy link

chrisjsewell commented Oct 17, 2024

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 chrisjsewell changed the title overriding config for folders (rather than modules) Allow overriding config for folders (rather than modules) Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant