Skip to content

feat(dev): Suppress mypy unused configs warnings when running via prek#117281

Merged
lcian merged 1 commit into
masterfrom
lcian/mypy-command
Jun 10, 2026
Merged

feat(dev): Suppress mypy unused configs warnings when running via prek#117281
lcian merged 1 commit into
masterfrom
lcian/mypy-command

Conversation

@lcian

@lcian lcian commented Jun 10, 2026

Copy link
Copy Markdown
Member

The pre-push hook runs mypy on changed files only, which causes warn_unused_configs to report every unmatched override section in pyproject.toml as noise.
Pass --no-warn-unused-configs in the hook so full-project runs still benefit from the check.

…sets

The pre-push hook runs mypy on changed files only, which causes
warn_unused_configs to report every unmatched override section in
pyproject.toml as noise. Pass --no-warn-unused-configs in the hook
so full-project runs still benefit from the check.

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
@lcian lcian requested review from a team as code owners June 10, 2026 07:46
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 10, 2026
@lcian lcian changed the title chore(mypy): Suppress unused config warnings when running on file subsets feat(dev): Suppress mypy unused configs warnings when running via prek Jun 10, 2026
@lcian lcian enabled auto-merge (squash) June 10, 2026 07:48
@lcian lcian merged commit 298c6c1 into master Jun 10, 2026
66 checks passed
@lcian lcian deleted the lcian/mypy-command branch June 10, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants