Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mypy settings to pyproject.toml #4718

Closed
wants to merge 3 commits into from
Closed

Add Mypy settings to pyproject.toml #4718

wants to merge 3 commits into from

Conversation

bufke
Copy link
Contributor

@bufke bufke commented Nov 6, 2023

Notes

This change allows mypy type checker to run by default. It's been tested in cli and VS Code. It looks for a pattern src/module-name and excludes a few modules that break mypy.

Kobo Compose has been updated to explain using a virtual environment to allow type checking in an editor.

The kpi codebase features some type hints to help document functions. Type checking is not enforced.

@jnm jnm self-assigned this Nov 6, 2023
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.

None yet

2 participants