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

chore/faster-mypy #746

Merged
merged 1 commit into from
Jul 9, 2024
Merged

chore/faster-mypy #746

merged 1 commit into from
Jul 9, 2024

Conversation

gecBurton
Copy link
Collaborator

@gecBurton gecBurton commented Jul 9, 2024

Context

As an Engineer I want mypy to be run once over all the code, this will make it much faster in CI

Changes proposed in this pull request

  1. all instances of mypy have been removed except at the top level
  2. some unused dependencies have been removed

Guidance to review

Note that in this PR the mypy check takes 17 seconds whereas the last run in main took more than 3 minutes

Relevant links

Things to check

  • I have added any new ENV vars in all deployed environments
  • I have tested any code added or changed
  • I have run integration tests

@gecBurton gecBurton changed the title made mypy faster chore/faster-mypy Jul 9, 2024
Copy link
Contributor

@brunns brunns left a comment

Choose a reason for hiding this comment

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

I'd probably have gone with pyright, but looks good.

@gecBurton gecBurton merged commit 509cdeb into main Jul 9, 2024
9 checks passed
@gecBurton gecBurton deleted the chore/simplify-mypy branch July 9, 2024 10:25
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