diff --git a/numcodecs/tests/test_bitround.py b/numcodecs/tests/test_bitround.py index 31332ff9..3929e43c 100644 --- a/numcodecs/tests/test_bitround.py +++ b/numcodecs/tests/test_bitround.py @@ -24,21 +24,21 @@ def test_round_zero_to_zero(dtype): # Don't understand Milan's original test: # How is it possible to have negative keepbits? # for k in range(-5, 50): - for k in range(0, max_bits[dtype]): + for k in range(max_bits[dtype]): ar = round(a, k) np.testing.assert_equal(a, ar) def test_round_one_to_one(dtype): a = np.ones((3, 2), dtype=dtype) - for k in range(0, max_bits[dtype]): + for k in range(max_bits[dtype]): ar = round(a, k) np.testing.assert_equal(a, ar) def test_round_minus_one_to_minus_one(dtype): a = -np.ones((3, 2), dtype=dtype) - for k in range(0, max_bits[dtype]): + for k in range(max_bits[dtype]): ar = round(a, k) np.testing.assert_equal(a, ar) diff --git a/pyproject.toml b/pyproject.toml index 6cecd9ab..6582c8e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -141,6 +141,7 @@ extend-select = [ "B", "I", "PGH", + "PIE", "PT", "RSE", "RUF",