Skip to content

Commit

Permalink
build: update pyright to 1.1.366 (#1703)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau authored Jun 11, 2024
1 parent b48b8c5 commit d189a48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions charmcraft/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,11 +640,11 @@ class PlatformCharm(CharmcraftProject):
summary: CharmcraftSummaryStr
description: str

base: BaseStr
# Silencing pyright because it complains about missing default value
base: BaseStr # pyright: ignore[reportGeneralTypeIssues]
build_base: BuildBaseStr | None = None
platforms: dict[str, Platform | None]

parts: dict[str, dict[str, Any]] # craft-parts parts
platforms: dict[str, Platform | None] # pyright: ignore[reportGeneralTypeIssues]
parts: dict[str, dict[str, Any]] # pyright: ignore[reportGeneralTypeIssues]

actions: dict[str, Any] | None
assumes: list[str | dict[str, list | dict]] | None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lint = [
]
types = [
"mypy[reports]~=1.5",
"pyright==1.1.354",
"pyright==1.1.366",
"types-python-dateutil",
"types-requests<2.31.0.20240312", # Frozen until we can get urllib3 v2
"types-setuptools",
Expand Down

0 comments on commit d189a48

Please sign in to comment.