Skip to content

Commit

Permalink
chore(deps-dev): bump mypy from 1.4.1 to 1.8.0 (#3710)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump mypy from 1.4.1 to 1.8.0

Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.8.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.4.1...v1.8.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fixing mypy problems

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Leandro Damascena <[email protected]>
  • Loading branch information
dependabot[bot] and leandrodamascena authored Feb 6, 2024
1 parent 9b5245e commit f7ca5b0
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ def serialize_metric_set(
],
},
# NOTE: Mypy doesn't recognize splats '** syntax' in TypedDict
**dimensions, # type: ignore[misc] # "service": "test_service"
**metadata, # "username": "test"
**dimensions, # "service": "test_service"
**metadata, # type: ignore[typeddict-item] # "username": "test"
**metric_names_and_values, # "single_metric": 1.0
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, order_id: int):


def order_to_dict(x: Type[OrderOutput]) -> Dict: # (1)!
return x.__dict__
return dict(x.__dict__)


def dict_to_order(x: Dict) -> OrderOutput: # (2)!
Expand Down
59 changes: 30 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7ca5b0

Please sign in to comment.