Commit 5cf1a5a
chore(deps-dev): bump mypy from 1.19.1 to 2.1.0 (#8999)
* chore(deps-dev): bump mypy from 1.19.1 to 2.1.0
Bumps [mypy](https://github.com/python/mypy) from 1.19.1 to 2.1.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.19.1...v2.1.0)
---
updated-dependencies:
- dependency-name: mypy
dependency-version: 2.1.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
* fix: resolve mypy 2.1.0 type-check errors
- _METRICS: add explicit Dict[str, "Metric"] annotation (var-annotated)
- lambda_authorizer.py, resource_trigger.py: drop redundant cast() that
mypy 2.1 now flags after upstream stub improvements (redundant-cast)
- sync_flow.py __eq__: keep the outer cast(bool, ...) since
_equality_keys() returns Any, but drop the inner cast(SyncFlow, o) —
mypy 2.1 narrows o via the type(o) is type(self) guard
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roger Zhang <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>1 parent e56f4a3 commit 5cf1a5a
5 files changed
Lines changed: 6 additions & 6 deletions
File tree
- samcli
- lib
- sync
- telemetry
- utils
- local/apigw/authorizers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
0 commit comments