Skip to content

Commit

Permalink
chore: reenable ops.main type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Nov 11, 2024
1 parent 377ea9d commit bb6feab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cosl
distro
ops >= 2.2.0
git+https://github.com/canonical/operator.git@main#egg=ops
jinja2
redfish # requests is included in this
pydantic < 2
Expand Down
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,4 @@ def cos_agent_related(self) -> bool:


if __name__ == "__main__": # pragma: nocover
ops.main(HardwareObserverCharm) # type: ignore
ops.main(HardwareObserverCharm)

0 comments on commit bb6feab

Please sign in to comment.