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

[DRAFT] Add python type hinting on our scripts and run type checking #451

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

syuu1228
Copy link
Contributor

To reduce runtime error on our code, and also improve code stability, add python type hinting on python code, and run type checking on github CI.

To reduce runtime error on our code, and also improve code stability,
add python type hinting on python code, and run type checking on github CI.
@@ -26,6 +26,9 @@ jobs:
pip install -r test-requirements.txt
pytest ./tests

- name: mypy
run: mypy .
Copy link
Collaborator

Choose a reason for hiding this comment

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

this can be an overkill, you gonna have lots and lot of things to fix to make it work.

I would recommend starting with something like ruff, slowly.

Copy link

Choose a reason for hiding this comment

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

Can we see what we actually get running it manually?

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

3 participants