Validataclass 0.12 and mypy#6
Merged
Merged
Conversation
ninanomenon
previously approved these changes
Apr 13, 2026
We use a manually built dev version here so that we can already test and work on the next release. This should not be merged to main until validataclass 0.12.0 has been released and the requirements have been updated.
Note: Python 3.14 support requires validataclass 0.12
This is necessary to avoid errors from the no-implicit-reexport rule both in the library and in projects using the library. It's also cleaner to have explicit exports.
614243d to
9de66d7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DRAFT: This PR is based on #5 which needs to be merged first!DRAFT: Also, the PR uses a dev version of validataclass 0.12.0 because there's no official release yet. Before merging, the dependencies need to be adjusted accordingly!
This PR updates the library to use validataclass 0.12.0 (which as of now is not released yet), enables mypy, and fixes a lot of typing issues. It's basically a big typing cleanup.
The PR also adds support for Python 3.13 and 3.14 (since those are supported with validataclass 0.12.0).
Since validataclass 0.12.0 is not released yet, I had to build a dev version of it, so that I could already work on making it compatible. Of course, the validataclass version needs to be updated before merging this.
Full list of changes: