Skip to content

Replace mypy with ty for type checking and update related documentation#59

Merged
javidahmed64592 merged 1 commit into
mainfrom
replace-mypy-with-ty
Jun 5, 2026
Merged

Replace mypy with ty for type checking and update related documentation#59
javidahmed64592 merged 1 commit into
mainfrom
replace-mypy-with-ty

Conversation

@javidahmed64592

Copy link
Copy Markdown
Owner

This pull request migrates the project from using mypy to ty for static type checking. All documentation, configuration files, CI/CD workflows, and dependencies have been updated to reflect this change. Additionally, the pre-commit hook configuration and related documentation have been removed, further simplifying the development workflow.

Type Checking Migration:

  • Replaced all references to mypy with ty in documentation files such as .github/copilot-instructions.md and docs/source/smg.rst, including command examples and badges. [1] [2] [3] [4] [5]
  • Updated the CI workflow in .github/workflows/ci.yml to use a ty job instead of mypy, and switched to the corresponding composite action.
  • Changed the development dependencies in pyproject.toml to remove mypy and add ty.
  • Removed the [tool.mypy] configuration section from pyproject.toml since it is no longer needed.

Development Workflow Simplification:

  • Removed the pre-commit hook configuration and related documentation from .github/copilot-instructions.md to streamline the workflow. [1] [2]

@javidahmed64592 javidahmed64592 merged commit bed24af into main Jun 5, 2026
11 of 12 checks passed
@javidahmed64592 javidahmed64592 deleted the replace-mypy-with-ty branch June 5, 2026 00:11
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.

1 participant