From d1c981bf8d2521f343eb41a7883e206fc821c7fd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 21:50:35 +0000 Subject: [PATCH] style: pre-commit fixes --- tests/evt/test_xtalk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/evt/test_xtalk.py b/tests/evt/test_xtalk.py index 01cce4c98..c1e4e741b 100644 --- a/tests/evt/test_xtalk.py +++ b/tests/evt/test_xtalk.py @@ -58,10 +58,10 @@ def test_gather_energy(lgnd_test_data, files_config): energy = xtalk.gather_energy( "hit.cuspEmax_ctc_cal", tcm, f, np.array([1084803, 1084804]) ) - n_rows = np.max(tcm.idx)+1 + n_rows = np.max(tcm.idx) + 1 assert isinstance(energy, np.ndarray) assert energy.ndim == 2 - assert np.shape(energy) == (n_rows,2) + assert np.shape(energy) == (n_rows, 2) def test_filter_hits(lgnd_test_data, files_config): @@ -74,7 +74,7 @@ def test_filter_hits(lgnd_test_data, files_config): ), ) n_rows = np.max(tcm.idx) + 1 - + filter = xtalk.filter_hits( f, tcm, @@ -85,4 +85,4 @@ def test_filter_hits(lgnd_test_data, files_config): assert isinstance(filter, np.ndarray) assert filter.ndim == 2 - assert np.shape(filter)==(n_rows,2) + assert np.shape(filter) == (n_rows, 2)