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

WIP: add mypy as static type checker #5678

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

Conversation

goapunk
Copy link
Contributor

@goapunk goapunk commented Jul 23, 2024

Describe your changes
Briefly explain what you did and provide context for a clearer understanding.

Tasks

  • PR name contains story or task reference
  • Steps to recreate and test the changes
  • Documentation (docs and inline)
  • Tests (including n+1 and django_assert_num_queries where applicable)
  • Changelog

@goapunk goapunk force-pushed the jd-2024-07-mypy-type-checker branch 3 times, most recently from c165413 to ba43c52 Compare July 25, 2024 07:51
@goapunk goapunk force-pushed the jd-2024-07-mypy-type-checker branch from ba43c52 to 7887b38 Compare September 19, 2024 12:36
@goapunk
Copy link
Contributor Author

goapunk commented Sep 19, 2024

@m4ra I was playing around with this a while ago when I realized I had added a wrong type hint and thought having a check for it would be nice, but it also means we have to add type hints a lot, so I'm not really sure if it's worth it. What do you think?

@m4ra
Copy link
Contributor

m4ra commented Sep 19, 2024

I am up for it. However this workflow needs 18 fixes for the tests to pass /:

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.

2 participants