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

[FEATURE REQUEST] MyPy check-untyped-defs option. #628

Closed
GuillaumeCrowdcomfort opened this issue Aug 17, 2023 · 0 comments · Fixed by #682
Closed

[FEATURE REQUEST] MyPy check-untyped-defs option. #628

GuillaumeCrowdcomfort opened this issue Aug 17, 2023 · 0 comments · Fixed by #682
Milestone

Comments

@GuillaumeCrowdcomfort
Copy link
Contributor

Feature Request:
The MyPy options section doesn't allow for the --check-untyped-defs option. I would love to be able to specify it.

Reason:
Some functions cannot be correctly typed, but the content can be. Forcing to ignore typing in functions is disabling the ability to catch errors based on types for part of code.

Solution:
Add the option to the list of valid options specified in the .prospector.yaml.

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

Successfully merging a pull request may close this issue.

2 participants