Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrde default mypy from 0.781 to 0.782 #10404

Merged
merged 1 commit into from Jul 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3rdparty/python/requirements.txt
Expand Up @@ -13,7 +13,7 @@ fasteners==0.15.0
# --name=version \
# | jq -r '."mypy.version".value'
#
mypy==0.781
mypy==0.782

packaging==20.4
pathspec==0.8.0
Expand Down
Expand Up @@ -11,7 +11,7 @@ class MyPy(PythonToolBase):
"""The MyPy Python type checker (http://mypy-lang.org/)."""

options_scope = "mypy"
default_version = "mypy==0.781"
default_version = "mypy==0.782"
default_entry_point = "mypy"
default_interpreter_constraints = ["CPython>=3.5"]

Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/util/contextutil_test.py
Expand Up @@ -347,7 +347,7 @@ def test_exception_logging(self) -> None:

with self.assertRaises(AssertionError):
with exception_logging(fake_logger, "error!"):
assert True is False # type: ignore[comparison-overlap] # intended to fail type check
assert True is False

fake_logger.exception.assert_called_once_with("error!")

Expand Down