Skip to content

Conversation

Tosinibikunle
Copy link

resolves #896

tox -v
- name: Run mypy
run: |
pip install mypy==1.17.1
Copy link
Member

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?

@Tosinibikunle Tosinibikunle marked this pull request as draft August 7, 2025 19:53
@vgrozdanic
Copy link
Contributor

vgrozdanic commented Sep 20, 2025

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:

Found 32 errors in 12 files (checked 31 source files)

- name: Run mypy
run: |
pip install mypy
mypy rest_framework_simplejwt
Copy link
Member

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"]
Copy link
Member

Choose a reason for hiding this comment

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

same here

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.

Add mypy to pre-commit and in CI checks

3 participants