From cf6e48ae376211f9581488e99f59ad5b31c4ed52 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 24 Nov 2023 16:34:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- covalent/_programmatic/commands.py | 6 +----- tests/covalent_tests/programmatic/commands_test.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/covalent/_programmatic/commands.py b/covalent/_programmatic/commands.py index 6064e6982..5ef92558d 100644 --- a/covalent/_programmatic/commands.py +++ b/covalent/_programmatic/commands.py @@ -29,11 +29,7 @@ app_log = logger.app_log -def _call_cli_command( - cmd: List[str], - *, - quiet: bool = False -) -> subprocess.CompletedProcess: +def _call_cli_command(cmd: List[str], *, quiet: bool = False) -> subprocess.CompletedProcess: """ Call a CLI command with the specified kwargs. diff --git a/tests/covalent_tests/programmatic/commands_test.py b/tests/covalent_tests/programmatic/commands_test.py index cdd0a4210..86f5f513f 100644 --- a/tests/covalent_tests/programmatic/commands_test.py +++ b/tests/covalent_tests/programmatic/commands_test.py @@ -31,7 +31,7 @@ def test_is_covalent_running(mocker): mocker.patch("psutil.pid_exists", return_value=True) mocker.patch( "covalent._shared_files.config.get_config", - return_value={"port": 48008, "host": "localhost"} + return_value={"port": 48008, "host": "localhost"}, ) assert ct.is_covalent_running()