Skip to content

Commit

Permalink
refactor: fix python black formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Rich Megginson <[email protected]>
  • Loading branch information
richm committed Jan 31, 2025
1 parent 59e6e0b commit 0798188
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions module_utils/ha_cluster_lsr/info/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def export_corosync_cluster_name(corosync_conf_dict: Dict[str, Any]) -> str:


def export_corosync_transport(
corosync_conf_dict: Dict[str, Any]
corosync_conf_dict: Dict[str, Any],
) -> Dict[str, Any]:
"""
Export transport options in role format from corosync config in pcs format
Expand Down Expand Up @@ -115,7 +115,7 @@ def export_corosync_totem(corosync_conf_dict: Dict[str, Any]) -> Dict[str, Any]:


def export_corosync_quorum(
corosync_conf_dict: Dict[str, Any]
corosync_conf_dict: Dict[str, Any],
) -> Dict[str, Any]:
"""
Export quorum options in role format from corosync config in pcs format
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ configfile = {toxinidir}/pyproject.toml
# most tox-lsr tests locally or you will get errors like this:
# ansible-lint-collection: failed with ansible-lint is not allowed, use allowlist_externals to allow it
[testenv]
sitepackages=True
#sitepackages=True
setenv =
RUN_PYTEST_SETUP_MODULE_UTILS = true
RUN_PYLINT_SETUP_MODULE_UTILS = true

0 comments on commit 0798188

Please sign in to comment.