Skip to content

A basedmypy key in config files for basedmypy exclusive configuration options #158

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

Open
KotlinIsland opened this issue Jan 17, 2022 · 1 comment

Comments

@KotlinIsland
Copy link
Owner

KotlinIsland commented Jan 17, 2022

Mypy doesn't really care about unrecognized options in the config file, but a feature like this might help with readability.

[tool.mypy]
sus_sus = true

[tool.basedmypy]
amongus = true
[mypy]
sus_sus = true

[basedmypy]
amongus = true
@DetachHead
Copy link
Collaborator

another reason for this is that vscode complains about basedmypy options because they're not in the json schema hosted on schemastore: https://json.schemastore.org/partial-mypy.json

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants