Skip to content

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