Skip to content

Commit

Permalink
ignore pre-commit error at line level
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed May 20, 2024
1 parent dd50126 commit 850c778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmeutils/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 850c778

Please sign in to comment.