Skip to content

Commit

Permalink
Reverted changes to pass GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSv04047 committed Dec 9, 2023
1 parent 5309d69 commit 296631e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cloudinit/dmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _read_kenv(key: str) -> Optional[str]:
LOG.debug("kenv returned '%s' for '%s'", result, kmap.freebsd)
return result
except subp.ProcessExecutionError as e:
LOG.debug("failed kenv cmd: %s\n%s", cmd, e) # type: ignore
LOG.debug("failed kenv cmd: %s\n%s", cmd, e)

return None

Expand All @@ -134,7 +134,7 @@ def _call_dmidecode(key: str, dmidecode_path: str) -> Optional[str]:
return ""
return result
except subp.ProcessExecutionError as e:
LOG.debug("failed dmidecode cmd: %s\n%s", cmd, e) # type: ignore
LOG.debug("failed dmidecode cmd: %s\n%s", cmd, e)
return None


Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ skip = ["cloudinit/cmd/main.py", ".tox", "packages", "tools"]
follow_imports = "silent"
warn_unused_ignores = "true"
warn_redundant_casts = "true"
exclude = [
"# type: ignore" # Is used to ignore pyrght errors
]
exclude = []

[[tool.mypy.overrides]]
module = [
Expand Down

0 comments on commit 296631e

Please sign in to comment.