Type checking changes#16
Merged
Merged
Conversation
Documentation build overview
5 files changed ·
|
… add warning about Mypy issues.
ArachnidAbby
force-pushed
the
type-checking-changes
branch
from
July 19, 2026 04:00
3fada00 to
eac43de
Compare
…_value function on ConfigSectionMeta
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.
Description
Various small type checking changes + a few bug fixes.
so far it brings us from 67 type warnings in the IDE to 29.
Changes
_ConfigSpecMeta. This was a major oversight only non-problematic because you would typically only have 1 config class at a time.autoloadedclass decorator to lie to type checkers that refuse to cooperate with this library's shenaniganscreate_fileoption/flag forConfigSpec.load()ConfigSectionMetafor better typing and checking of section classes._ConfigSpecABCMeta(No longer needed sinceConfigSectionMetanow inherits from ABCMeta on its own)