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

mito-ai: add mypy tests #1512

Merged
merged 15 commits into from
Feb 7, 2025
Merged

mito-ai: add mypy tests #1512

merged 15 commits into from
Feb 7, 2025

Conversation

aarondr77
Copy link
Member

@aarondr77 aarondr77 commented Feb 6, 2025

Description

Adds type checking to the mito-ai backend! Yay. This will pay for itself in no time.

I pushed a mypy.ini file that defines our mypy rules so it should perform the same on all of our computers.

Testing

  1. See that the new test mito-ai mypy workflow passes.
  2. Also make sure that you can run these locally by running mypy mito_ai

Documentation

No.

Copy link

vercel bot commented Feb 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 9:52pm

__user_email = None
__user_id = None
OPEN_SOURCE_AI_COMPLETIONS_LIMIT: Final[int] = 500
OPEN_SOURCE_INLINE_COMPLETIONS_LIMIT: Final[int] = 30 # days
Copy link
Collaborator

Choose a reason for hiding this comment

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

huh, the Final type is new to me. Very cool!

@aarondr77 aarondr77 merged commit d1be563 into dev Feb 7, 2025
9 checks passed
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