From 1c3cca3c2125bae39e3a65c159dcb5ddc30b27a7 Mon Sep 17 00:00:00 2001 From: Andrey Lebedev Date: Tue, 12 Mar 2024 21:45:50 +0200 Subject: [PATCH] Support for mypy-1.9.0 --- CHANGELOG.md | 2 +- setup.cfg | 2 +- tests/samples/interface_implications.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa7d7ee..80cd1e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. ## 1.0.4 (unreleased) --------------------- -- Nothing changed yet. +- Support for mypy up to 1.9.x ## 1.0.3 (2023-12-26) diff --git a/setup.cfg b/setup.cfg index 32c9be4..7e87521 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,7 +28,7 @@ packages = zope-stubs package_dir = =src install_requires = - mypy>=1.0.0,<1.9.0 + mypy>=1.0.0,<1.10.0 zope.interface zope.schema include_package_data = True diff --git a/tests/samples/interface_implications.py b/tests/samples/interface_implications.py index 13367ba..aaf47b6 100644 --- a/tests/samples/interface_implications.py +++ b/tests/samples/interface_implications.py @@ -37,7 +37,7 @@ def main(obj: Optional[IBookmark]) -> None: interface_implications.py:21: note: Revealed type is "__main__.IBookmark" interface_implications.py:22: note: Revealed type is "Union[__main__.IBookmark, None]" interface_implications.py:26: note: Revealed type is "Type[__main__.IBookmark]" -interface_implications.py:28: note: Revealed type is "Union[Type[__main__.IBookmark], Type[None]]" +interface_implications.py:28: note: Revealed type is "Type[None]" interface_implications.py:29: note: Revealed type is "Union[Type[__main__.IBookmark], Type[None]]" """