Skip to content

Commit

Permalink
lint: fix typing for pyright 1.1.312 (#4205)
Browse files Browse the repository at this point in the history
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
  • Loading branch information
mr-cal authored and cmatsuoka committed Jun 11, 2023
1 parent cd486f9 commit 744bf86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft/commands/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import stat
import textwrap
from datetime import datetime
from typing import TYPE_CHECKING, Dict, Union
from typing import TYPE_CHECKING, Any, Dict

from craft_cli import BaseCommand, emit
from craft_cli.errors import ArgumentParsingError
Expand Down Expand Up @@ -192,7 +192,7 @@ def run(self, parsed_args):
f"Set {store.constants.ENVIRONMENT_STORE_AUTH}=candid instead",
)

kwargs: Dict[str, Union[str, int]] = {}
kwargs: Dict[str, Any] = {}
if parsed_args.snaps:
kwargs["packages"] = parsed_args.snaps.split(",")
if parsed_args.channels:
Expand Down

0 comments on commit 744bf86

Please sign in to comment.