Skip to content

Commit

Permalink
Merge pull request #114 from Shoobx/mypy-1.9
Browse files Browse the repository at this point in the history
Support for Mypy-1.9
  • Loading branch information
kedder authored Mar 12, 2024
2 parents 441c17b + d4f64ab commit 0aa4044
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
## 1.0.4 (unreleased)
---------------------

- Nothing changed yet.
- Drop support for python-3.7 (follow mypy).
- Support for mypy up to 1.9.x


## 1.0.3 (2023-12-26)
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ classifiers =
Environment :: Console
Intended Audience :: Developers
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -28,7 +27,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
Expand Down
2 changes: 1 addition & 1 deletion tests/samples/interface_implications.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]"
</output>
"""

0 comments on commit 0aa4044

Please sign in to comment.