From f100a5ee201bd74f9c670b8fc45a14e29d4b7db2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 03:54:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- main.py | 6 +++--- tests/unit_tests/toporder/test_utils.py | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 5596b447..c937c7cf 100644 --- a/main.py +++ b/main.py @@ -6,11 +6,11 @@ def print_hi(name): # Use a breakpoint in the code line below to debug your script. - print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint. + print(f"Hi, {name}") # Press Ctrl+F8 to toggle the breakpoint. # Press the green button in the gutter to run the script. -if __name__ == '__main__': - print_hi('PyCharm') +if __name__ == "__main__": + print_hi("PyCharm") # See PyCharm help at https://www.jetbrains.com/help/pycharm/ diff --git a/tests/unit_tests/toporder/test_utils.py b/tests/unit_tests/toporder/test_utils.py index 40181735..f12b483b 100644 --- a/tests/unit_tests/toporder/test_utils.py +++ b/tests/unit_tests/toporder/test_utils.py @@ -7,5 +7,3 @@ def test_kernel_width_when_zero_median_pairwise_distances(): arr = np.zeros((100, 1), dtype=np.int64) arr[1] = 1 assert kernel_width(arr) == 1 - -