Skip to content

Commit

Permalink
Add http:// in front of the docs url for strict-optional (#7485)
Browse files Browse the repository at this point in the history
In many cases this makes it clickable (Tested with gnome-terminal)
  • Loading branch information
dveeden authored and msullivan committed Sep 9, 2019
1 parent bcbd172 commit 37e5be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/main.py
Expand Up @@ -447,7 +447,7 @@ def add_invertible_flag(flag: str,
title='None and Optional handling',
description="Adjust how values of type 'None' are handled. For more context on "
"how mypy handles values of type 'None', see: "
"mypy.readthedocs.io/en/latest/kinds_of_types.html#no-strict-optional")
"http://mypy.readthedocs.io/en/latest/kinds_of_types.html#no-strict-optional")
add_invertible_flag('--no-implicit-optional', default=False, strict_flag=True,
help="Don't assume arguments with default values of None are Optional",
group=none_group)
Expand Down

0 comments on commit 37e5be1

Please sign in to comment.