Skip to content

Commit 37e5be1

Browse files
dveedenmsullivan
authored andcommitted
Add http:// in front of the docs url for strict-optional (#7485)
In many cases this makes it clickable (Tested with gnome-terminal)
1 parent bcbd172 commit 37e5be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def add_invertible_flag(flag: str,
447447
title='None and Optional handling',
448448
description="Adjust how values of type 'None' are handled. For more context on "
449449
"how mypy handles values of type 'None', see: "
450-
"mypy.readthedocs.io/en/latest/kinds_of_types.html#no-strict-optional")
450+
"http://mypy.readthedocs.io/en/latest/kinds_of_types.html#no-strict-optional")
451451
add_invertible_flag('--no-implicit-optional', default=False, strict_flag=True,
452452
help="Don't assume arguments with default values of None are Optional",
453453
group=none_group)

0 commit comments

Comments
 (0)