Skip to content

Flexibilize type hints, drop Python 3.10, support 3.11 to 3.15 - #119

Merged
michaelosthege merged 9 commits into
masterfrom
typing-modernization
Oct 5, 2026
Merged

michaelosthege merged 9 commits into
masterfrom
typing-modernization

Conversation

@michaelosthege

@michaelosthege michaelosthege commented Oct 3, 2026 •

Copy link
Copy Markdown
Member
  • __all__ now specified in all submodules
  • Type hints for parameters are now more relaxed
  • Type hints are now more accurate, using Literal, numpy.typing.NDArray etc.
  • pre-commit hooks were updated
  • Supporting up to Python 3.15 which is currently in Release Candidate 3

@michaelosthege michaelosthege self-assigned this Oct 3, 2026
@michaelosthege michaelosthege added the enhancement New feature or request label Oct 3, 2026
@codecov

codecov Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.88%. Comparing base (dc902f9) to head (15ef538).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
+ Coverage   95.85%   95.88%   +0.03%     
==========================================
  Files          19       20       +1     
  Lines        1229     1240      +11     
==========================================
+ Hits         1178     1189      +11     
  Misses         51       51              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@michaelosthege michaelosthege changed the title Modernize & flexibilize type hints, drop Python 3.10, test 3.14 Modernize & flexibilize type hints, drop Python 3.10, support 3.11 to 3.15 Oct 3, 2026
@michaelosthege michaelosthege changed the title Modernize & flexibilize type hints, drop Python 3.10, support 3.11 to 3.15 Flexibilize type hints, drop Python 3.10, support 3.11 to 3.15 Oct 3, 2026
@michaelosthege
michaelosthege merged commit 22bf7de into master Oct 5, 2026
10 checks passed
@michaelosthege
michaelosthege deleted the typing-modernization branch October 5, 2026 08:56
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants