-
Notifications
You must be signed in to change notification settings - Fork 693
Fix: Add mypy to pre-commit #924
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
base: master
Are you sure you want to change the base?
Conversation
.github/workflows/test.yml
Outdated
tox -v | ||
- name: Run mypy | ||
run: | | ||
pip install mypy==1.17.1 |
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.
why install a specific mypy version?
Before we can merge this, we need to fix all of the mypy issues in our codebase. At the moment, when i run it, i get the following results:
|
- name: Run mypy | ||
run: | | ||
pip install mypy | ||
mypy rest_framework_simplejwt |
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.
This should also be checking the tests folder
rev: v1.17.1 | ||
hooks: | ||
- id: mypy | ||
args: ["rest_framework_simplejwt"] |
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.
same here
resolves #896