diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae1f4b9..1ad87be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: debug-statements @@ -8,21 +8,21 @@ repos: - id: check-case-conflict - id: check-yaml - repo: https://github.com/asottile/reorder_python_imports - rev: v3.12.0 + rev: v3.14.0 hooks: - id: reorder-python-imports - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py3-plus, --py38-plus] - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 25.1.0 hooks: - id: black language_version: python3 - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.1.2 hooks: - id: flake8 args: [--config=.flake8] diff --git a/tests/test_compression.py b/tests/test_compression.py index e46ccfa..4f6dff7 100644 --- a/tests/test_compression.py +++ b/tests/test_compression.py @@ -57,9 +57,7 @@ def test_uint8(self): def test_int16(self): self.verify( np.int16, - np.array( - [2**15 - 1, -(2**15) + 1, 2**7 + 1, -(2**7) - 1], dtype=np.int64 - ), + np.array([2**15 - 1, -(2**15) + 1, 2**7 + 1, -(2**7) - 1], dtype=np.int64), ) def test_uint16(self):