Skip to content

Commit 822c8c1

Browse files
committed
upgrade to mypy 0.470
1 parent 42f4bdd commit 822c8c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schema_salad/ref_resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def uri_file_path(url): # type: (str) -> str
5656

5757
class NormDict(CommentedMap):
5858

59-
def __init__(self, normalize=unicode): # type: (type) -> None
59+
def __init__(self, normalize=unicode): # type: (Callable) -> None
6060
super(NormDict, self).__init__()
6161
self.normalize = normalize
6262

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ deps = -rrequirements.txt
1414
commands = make mypy
1515
whitelist_externals = make
1616
deps =
17-
mypy-lang>=0.4
17+
mypy>=0.470
1818
typed-ast
1919
-rrequirements.txt
2020

0 commit comments

Comments
 (0)