Skip to content

mypy-in-pre-commit-and-pyproject - #6

Merged
steven-cutting merged 1 commit into
mainfrom
mypy-in-pre-commit-and-pyproject
Oct 7, 2025
Merged

steven-cutting merged 1 commit into
mainfrom
mypy-in-pre-commit-and-pyproject

Conversation

@steven-cutting

Copy link
Copy Markdown
Owner

No description provided.

@steven-cutting
steven-cutting requested a review from Copilot October 7, 2025 06:48
@steven-cutting steven-cutting self-assigned this Oct 7, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR consolidates mypy configuration into pyproject.toml and integrates mypy into the pre-commit workflow for automated type checking.

  • Migrated mypy configuration from mypy.ini to pyproject.toml [tool.mypy] section
  • Added mypy as a local pre-commit hook using uv run dmypy
  • Removed standalone mypy.ini configuration file

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Added complete mypy configuration section with strict type checking settings
mypy.ini Removed entire file as configuration moved to pyproject.toml
.pre-commit-config.yaml Added local mypy hook using dmypy daemon for faster type checking

Comment thread pyproject.toml
@steven-cutting
steven-cutting merged commit cdded8f into main Oct 7, 2025
4 checks passed
@steven-cutting
steven-cutting deleted the mypy-in-pre-commit-and-pyproject branch October 7, 2025 07:00
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