Skip to content

Commit 38b9503

Browse files
committed
hostname
1 parent cbab4b2 commit 38b9503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema/_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def is_ipv6(instance):
187187
_host_name_re = re.compile(r"^[A-Za-z0-9][A-Za-z0-9\.\-]{1,255}$")
188188

189189

190-
@_checks_drafts(draft3="host-name", draft4="hostname")
190+
@_checks_drafts(draft3="host-name", draft4="hostname", draft6="hostname")
191191
def is_host_name(instance):
192192
if not isinstance(instance, str_types):
193193
return True

0 commit comments

Comments
 (0)