Skip to content

Commit

Permalink
[POC] Typing ergonomics and guarantees
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Dec 4, 2023
1 parent b2563c2 commit 3eae7c1
Show file tree
Hide file tree
Showing 24 changed files with 356 additions and 204 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions changes/2252.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The typing for Toga's API surface is now compliant with mypy.
2 changes: 2 additions & 0 deletions core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dependencies = [
"travertino >= 0.3.0",
# limited to <=3.9 for the `group` argument for `entry_points()`
"importlib_metadata >= 4.4.0; python_version <= '3.9'",
"typing-extensions == 4.8.0",
]

[project.optional-dependencies]
Expand All @@ -73,6 +74,7 @@ dev = [
"pytest-freezer == 0.4.8",
"setuptools-scm == 8.0.4",
"tox == 4.11.4",
"types-Pillow == 10.1.0.2",
]
docs = [
"furo == 2023.9.10",
Expand Down
Loading

0 comments on commit 3eae7c1

Please sign in to comment.