Skip to content

Commit

Permalink
Fix mypy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jdawang committed Jan 3, 2024
1 parent 4fbada3 commit 68f04d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion edgetest/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def setup(
else:
# Install lower bounds of package(s)
LOG.info(
f"Installing lower bounds of packages in {self.envname}: {', '.join(self.lower)}"
f"Installing lower bounds of packages in {self.envname}: {', '.join(self.lower)}" # type:ignore
)
try:
self.hook.run_install_lower(
Expand Down
6 changes: 3 additions & 3 deletions edgetest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,12 @@ def parse_toml(
if (
"lower" in output["envs"][-1]
and "project" in config
and "dependencies" in config["project"]
and "dependencies" in config["project"] # type: ignore
):
output["envs"][-1]["lower"] = "\n".join(
f"{pkg_name}=={lower_bound}"
for pkg_name, lower_bound in get_lower(
dict(config["project"])["dependencies"]
dict(config["project"])["dependencies"] # type: ignore
).items()
if _isin_case_dashhyphen_ins(
pkg_name, output["envs"][-1]["lower"].split("\n")
Expand All @@ -374,7 +374,7 @@ def parse_toml(
if len(output["envs"]) == 0:
if config.get("project").get("dependencies"): # type: ignore
output = convert_requirements(
requirements="\n".join(config["project"]["dependencies"]),
requirements="\n".join(config["project"]["dependencies"]), # type: ignore
conf=output, # type: ignore # noqa: E501
)
elif requirements:
Expand Down

0 comments on commit 68f04d4

Please sign in to comment.