Skip to content

Strict typing#620

Merged
Dreamsorcerer merged 21 commits intomasterfrom
typing
Feb 26, 2025
Merged

Strict typing#620
Dreamsorcerer merged 21 commits intomasterfrom
typing

Conversation

@Dreamsorcerer
Copy link
Copy Markdown
Member

Update mypy config to the strict typing we use on other projects

Dreamsorcerer and others added 2 commits February 12, 2025 13:47
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@Dreamsorcerer Dreamsorcerer merged commit 12829cc into master Feb 26, 2025
38 checks passed
@Dreamsorcerer Dreamsorcerer deleted the typing branch February 26, 2025 15:03
.tox/.tmp/.mypy/python-3.12/cobertura.xml,
.tox/.tmp/.mypy/python-3.10/cobertura.xml,
.tox/.tmp/.mypy/python-3.8/cobertura.xml
.tox/.tmp/.mypy/python-3.11/cobertura.xml
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be running against a matrix of Pythons..

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've highlighted this every time someone tries to add a matrix for mypy. The extra Python versions never seem to catch any extra errors the user would encounter, but as we introduce more strict typing the internal errors in the codebase differ slightly, making it pretty much impossible to get mypy passing on all versions simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants