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

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

Merged
merged 1 commit into from May 3, 2018

Conversation

Projects
None yet
3 participants
@tonyelewis
Contributor

tonyelewis commented May 3, 2018

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.

@ethanhs

ethanhs approved these changes May 3, 2018

@ilevkivskyi ilevkivskyi merged commit 7fe60a5 into python:master May 3, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@tonyelewis

This comment has been minimized.

Contributor

tonyelewis commented May 3, 2018

Thanks very much.

@tonyelewis tonyelewis deleted the tonyelewis:docs-mention--check-untyped-defs branch May 3, 2018

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