diff --git a/src/modopt/opt/linear/wavelet.py b/src/modopt/opt/linear/wavelet.py index ae92efa7..ff434287 100644 --- a/src/modopt/opt/linear/wavelet.py +++ b/src/modopt/opt/linear/wavelet.py @@ -281,7 +281,7 @@ def _adj_op(self, coeffs): class TorchWaveletTransform: """Wavelet transform using pytorch.""" - wavedec3_keys = ["aad", "ada", "add", "daa", "dad", "dda", "ddd"] + wavedec3_keys = ("aad", "ada", "add", "daa", "dad", "dda", "ddd") def __init__( self, diff --git a/tests/test_base.py b/tests/test_base.py index 298253d6..62e09095 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -149,7 +149,7 @@ def test_matrix2cube(self): class TestType: """Test for type module.""" - data_list = list(range(5)) + data_list = list(range(5)) # noqa: RUF012 data_int = np.arange(5) data_flt = np.arange(5).astype(float)