Skip to content

Commit 4b95c1b

Browse files
dependabot[bot]mr-c
authored andcommitted
Bump mypy from 0.991 to 1.0.0
Bumps [mypy](https://github.com/python/mypy) from 0.991 to 1.0.0. - [Release notes](https://github.com/python/mypy/releases) - [Commits](python/mypy@v0.991...v1.0.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 314f341 commit 4b95c1b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mypy-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mypy==0.991
1+
mypy==1.0.0
22
black>=19.10b0
33
types-pkg_resources
44
types-requests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [
33
"setuptools>=45",
44
"setuptools_scm[toml]>=6.2",
55
'mypy==0.971; python_version == "3.6"', # last version for Python 3.6
6-
'mypy==0.991; python_version >= "3.7"',
6+
'mypy==1.0.0; python_version >= "3.7"',
77
"black>=19.10b0",
88
"types-pkg_resources",
99
"types-requests",

schema_salad/ref_resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ def resolve_all(
842842
)
843843
elif isinstance(document, CommentedSeq):
844844
pass
845-
elif isinstance(document, (list, dict)): # type: ignore[unreachable]
845+
elif isinstance(document, (list, dict)):
846846
raise ValidationException(
847847
f"Expected CommentedMap or CommentedSeq, got {type(document)}: {document!r}"
848848
)

0 commit comments

Comments
 (0)