From 850c7786a671cf792b4ed0664355a68e8cf72da2 Mon Sep 17 00:00:00 2001 From: chrisjonesbsu <chrisjones4@u.boisestate.edu> Date: Mon, 20 May 2024 11:19:23 -0600 Subject: [PATCH] ignore pre-commit error at line level --- cmeutils/sampling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmeutils/sampling.py b/cmeutils/sampling.py index 323640c..df0c194 100644 --- a/cmeutils/sampling.py +++ b/cmeutils/sampling.py @@ -113,4 +113,4 @@ def autocorr1D(array): """ ft = np.fft.rfft(array - np.average(array)) acorr = np.fft.irfft(ft * np.conjugate(ft)) / (len(array) * np.var(array)) - return acorr[0 : len(acorr) // 2] + return acorr[0 : len(acorr) // 2] # noqa: E203