Skip to content

Commit fd3ab6f

Browse files
jdclaude
andauthored
chore(deps): update mypy to v1.20.0 (#1051)
Fix dict merge operator type error caught by mypy 1.20.0 by using {**a, **b} unpacking instead of a | b. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9a01000 commit fd3ab6f

3 files changed

Lines changed: 74 additions & 59 deletions

File tree

mergify_cli/ci/junit_processing/junit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ async def junit_to_spans(
255255
is_remote=False,
256256
),
257257
parent=testsuite_context,
258-
attributes=common_attributes | attributes,
258+
attributes={**common_attributes, **attributes},
259259
status=span_status,
260260
resource=resource,
261261
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Changelog = "https://github.com/Mergifyio/mergify-cli/releases"
4444

4545
[dependency-groups]
4646
dev = [
47-
"mypy==1.19.1",
47+
"mypy==1.20.0",
4848
"mypy-extensions==1.1.0",
4949
"ruff==0.15.8",
5050
"pytest==9.0.2",

0 commit comments

Comments
 (0)