Skip to content

Commit

Permalink
Remove unused mypy ignores (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge authored Sep 27, 2022
1 parent 8f5e5d6 commit bb51e46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twine/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, config: utils.RepositoryConfig, input: CredentialInput) -> No
def choose(cls, interactive: bool) -> Type["Resolver"]:
return cls if interactive else Private

@property # type: ignore # https://github.com/python/mypy/issues/1362
@property
@functools.lru_cache()
def username(self) -> Optional[str]:
return utils.get_userpass_value(
Expand All @@ -38,7 +38,7 @@ def username(self) -> Optional[str]:
prompt_strategy=self.username_from_keyring_or_prompt,
)

@property # type: ignore # https://github.com/python/mypy/issues/1362
@property
@functools.lru_cache()
def password(self) -> Optional[str]:
return utils.get_userpass_value(
Expand Down

0 comments on commit bb51e46

Please sign in to comment.