-
Notifications
You must be signed in to change notification settings - Fork 722
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 to CI #103
Add MyPy to CI #103
Conversation
.github/workflows/lint.yml
Outdated
- name: Type Checking with MyPy | ||
run: | | ||
pip install mypy | ||
mypy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets make this || true for now. Mypy is best as a warning not an error in its current state
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds great!
The CI would now looks like this
mypy.ini
Outdated
@@ -0,0 +1,5 @@ | |||
[mypy] | |||
python_version = 3.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we have python 3.8 dependency in our CI setup - could we change this to 3.8 instead?
Thanks for the contribution. |
Patch Description
PR for issue 14.
Here we add MyPy to CI.
Testing steps
Run
mypy
at local laptop & run the check via an actual pull request.