[TEST] Enforce type hints with MyPy #37
Labels
ci
Continous Integration (tests, lints, checks, ...)
good first issue
Good for newcomers
hacktoberfest
Issue that is created for the Hacktoberfest event
What
In par with #34, I'd like to have some checks to assert that all functions, methods, and constants have type hints.
How to
This PR requires adding a pre-commit hook that using mypy. After the
flake8
hook:manim-slides/.pre-commit-config.yaml
Lines 22 to 30 in 14a266b
you need to add:
and use customized arguments to make sure it only checks for type hints.
Useful links
The text was updated successfully, but these errors were encountered: