Skip to content

Add mention of --check-untyped-defs option to docs #4996

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

Merged
merged 1 commit into from
May 3, 2018
Merged

Add mention of --check-untyped-defs option to docs #4996

merged 1 commit into from
May 3, 2018

Conversation

tonyelewis
Copy link
Contributor

On my first try of mypy, I was disappointed that I couldn't find a way to get mypy to complain about this source:

def fn_a(x: int) -> None:
	pass

def fn_b():
	fn_a('silly argument')

I would have found it helpful if the No errors reported for obviously wrong code section had mentioned the --check-untyped-defs option. I suspect others might also benefit from adding this brief mention.

Thanks very much.

@ilevkivskyi ilevkivskyi merged commit 7fe60a5 into python:master May 3, 2018
@tonyelewis
Copy link
Contributor Author

Thanks very much.

@tonyelewis tonyelewis deleted the docs-mention--check-untyped-defs branch May 3, 2018 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants