Skip to content

Merge dev-mypy to main#144

Merged
binaryDiv merged 63 commits into
mainfrom
dev-mypy
Apr 13, 2026
Merged

Merge dev-mypy to main#144
binaryDiv merged 63 commits into
mainfrom
dev-mypy

Conversation

@binaryDiv
Copy link
Copy Markdown
Contributor

Merging dev-mypy to main.

No further review needed since everything in this branch has been reviewed in separate PRs already.

These validators used to be StringValidator subclasses that overrode the validate return type in a type-incompatible way. Now they only inherit from Validator and use a separate StringValidator object for basic string validation.
Generic-based typing for Validator classes
This includes a deprecation for using `Default()` without arguments.
Implement mypy plugin for type checking validataclasses
Plugin configuration for the mypy plugin and docs
Update testing dependencies and fix tests for mypy 1.20
@binaryDiv binaryDiv self-assigned this Apr 13, 2026
@binaryDiv binaryDiv merged commit 36cc769 into main Apr 13, 2026
12 checks passed
@binaryDiv binaryDiv deleted the dev-mypy branch April 13, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant