Skip to content

Commit

Permalink
Bump mypy from 1.5.1 to 1.7.0 (#198)
Browse files Browse the repository at this point in the history
* Bump mypy from 1.5.1 to 1.7.0

Bumps [mypy](https://github.com/python/mypy) from 1.5.1 to 1.7.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.5.1...v1.7.0)

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

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

* Fixed linter warnings

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniele Esposti <[email protected]>
  • Loading branch information
dependabot[bot] and expobrain authored Nov 20, 2023
1 parent d1cae11 commit 9c61421
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion komposer/core/extra_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_items_from_extra_manifest(extra_manifest_raw: Union[Mapping, Sequence])
# Returns if it's a object
if isinstance(extra_manifest_raw, dict):
if extra_manifest_raw.get("kind") == "List":
return extra_manifest_raw.get("items", [])
return extra_manifest_raw.get("items", []) # type: ignore[no-any-return]

return [extra_manifest_raw]

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.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pytest-clarity = "^1.0.1"
pytest-mock = "^3.9.0"
mkdocs-material = ">=8.5.6,<10.0.0"
mkdocs-mermaid2-plugin = ">=0.6,<1.2"
mypy = ">=0.991,<1.6"
mypy = ">=0.991,<1.8"
black = "^23.1.0"

[tool.poetry.scripts]
Expand Down

0 comments on commit 9c61421

Please sign in to comment.