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

style: Adds mypy configuration and pre-commit repo #60

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

ns-rse
Copy link
Contributor

@ns-rse ns-rse commented Nov 20, 2024

Closes #49
Closes #52

Adds configuration of mypy to pyproject.toml and the related pre-commit hook.

May need tweaking.

Closes #49
Closes #52

- [MY100: Uses MyPy (pyproject config)](https://learn.scientific-python.org/development/guides/style#MY100)
- [PC140: Uses a type checker](https://learn.scientific-python.org/development/guides/style#PC140)

Adds configuration of [mypy](https://mypy.readthedocs.io/) to
[`pyproject.toml`](https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml-file) and the related
`pre-commit` hook.

May need tweaking.
@ns-rse ns-rse merged commit e62a4b7 into main Nov 20, 2024
1 of 6 checks passed
@ns-rse ns-rse deleted the ns-rse/49-52-mypy branch November 20, 2024 14:27
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.

MY100: Uses MyPy (pyproject config) PC140: Uses a type checker
1 participant