Skip to content

Commit

Permalink
Merge pull request #438 from languitar/renovate/mypy-1.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency mypy to v1.14.1
  • Loading branch information
renovate[bot] authored Jan 12, 2025
2 parents 691cde1 + d6f2e83 commit d95dd5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions passgithelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def define_pass_target(
section: configparser.SectionProxy, request: Mapping[str, str]
) -> str:
"""Determine the pass target by filling in potentially used variables."""
pass_target = section.get("target").replace("${host}", request["host"])
pass_target = section["target"].replace("${host}", request["host"])
if "username" in request:
pass_target = pass_target.replace("${username}", request["username"])
if "protocol" in request:
Expand Down Expand Up @@ -387,7 +387,7 @@ def get_password(
password_extractor = SpecificLineExtractor(0, 0, option_suffix="_password")
password_extractor.configure(section)

username_extractor_name = section.get(
username_extractor_name: str = section.get( # type: ignore
"username_extractor", fallback=_line_extractor_name
)
username_extractor = _username_extractors.get(username_extractor_name)
Expand Down
2 changes: 1 addition & 1 deletion requirements-check.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ruff==0.9.1
black==24.10.0
isort==5.13.2
mypy==1.13.0
mypy==1.14.1

0 comments on commit d95dd5c

Please sign in to comment.