Skip to content

Edit config for a strict mypy setup - #157

Open
cgl wants to merge 3 commits into
mainfrom
chore/strict-mypy
Open

cgl wants to merge 3 commits into
mainfrom
chore/strict-mypy

Conversation

@cgl

@cgl cgl commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Added type annotations to the core and backend modules.
Enabled strict mode in mypy.
Added tests to mypy’s type-checking targets.
Ignored the client, server, and parser modules for now; they’ll be handled in follow-up PRs.

@cgl
cgl force-pushed the chore/strict-mypy branch from da939b3 to 3977bc7 Compare December 1, 2026 20:50
@cgl
cgl requested a review from lovelydinosaur December 1, 2026 20:51
Comment thread pyproject.toml
Comment on lines +45 to +55
module = [
"hip.client.*",
"hip.server.*",
"hip.parsers.*",
"tests.test_client",
"tests.test_server",
"tests.test_pool",
"tests.test_network",
"tests.test_parsers",
"tests.parsers.*",
]

@lovelydinosaur lovelydinosaur Dec 2, 2026 •

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.

Is the plan that we would incrementally drop these overrides?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes

This branch has not been deployed

No deployments
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.

2 participants