mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
check_consistent: allow dots in module names (#5472)
This commit is contained in:
@@ -71,7 +71,7 @@ def match(fn, args, exclude_list):
|
||||
return True
|
||||
|
||||
|
||||
_VERSION_LINE_RE = re.compile(r"^([a-zA-Z_][a-zA-Z0-9_]*): ([23]\.\d{1,2})-([23]\.\d{1,2})?$")
|
||||
_VERSION_LINE_RE = re.compile(r"^([a-zA-Z_][a-zA-Z0-9_.]*): ([23]\.\d{1,2})-([23]\.\d{1,2})?$")
|
||||
|
||||
|
||||
def parse_versions(fname):
|
||||
|
||||
Reference in New Issue
Block a user