Remove unused mypy dependency - #124
Merged
Merged
Conversation
Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove mypy and update related files
Remove unused mypy dependency
Dec 20, 2025
hzhangxyz
approved these changes
Dec 20, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the unused mypy type checker dependency from the project. Mypy was configured as a development dependency but was not actually being utilized in pre-commit hooks, CI workflows, or build scripts.
Key changes:
- Removed mypy from development dependencies in
pyproject.toml - Cleaned up mypy-related ignore patterns from
.gitignore - Updated
uv.lockto reflect the removal of mypy and its transitive dependency mypy-extensions
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pyproject.toml | Removed mypy~=1.18.2 from the dev optional dependencies list |
| .gitignore | Removed mypy cache patterns (.mypy_cache/, .dmypy.json, dmypy.json) and updated the Python tools comment to reflect mypy's removal |
| uv.lock | Removed 56 lines containing the mypy and mypy-extensions package definitions and their associated wheel distributions |
The changes are clean, consistent, and properly synchronized across all three files. No issues were identified during the review.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mypy was configured as a dev dependency but not used in pre-commit hooks, CI workflows, or any build scripts.
Changes:
mypy~=1.18.2frompyproject.tomldev dependencies.mypy_cache/,.dmypy.json,dmypy.json) from.gitignoreuv.lockto remove mypy and mypy-extensions packages (56 lines removed)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh/usr/bin/curl curl -LsSf REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.