Skip to content

Commit 7c3d10a

Browse files
committed
Update pre-commit
1 parent 246eaba commit 7c3d10a

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v5.0.0
44
hooks:
55
- id: check-merge-conflict
66
- id: debug-statements
77
- id: mixed-line-ending
88
- id: check-case-conflict
99
- id: check-yaml
1010
- repo: https://github.com/asottile/reorder_python_imports
11-
rev: v3.12.0
11+
rev: v3.14.0
1212
hooks:
1313
- id: reorder-python-imports
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.15.0
15+
rev: v3.19.1
1616
hooks:
1717
- id: pyupgrade
1818
args: [--py3-plus, --py38-plus]
1919
- repo: https://github.com/psf/black
20-
rev: 23.10.1
20+
rev: 25.1.0
2121
hooks:
2222
- id: black
2323
language_version: python3
2424
- repo: https://github.com/pycqa/flake8
25-
rev: 6.1.0
25+
rev: 7.1.2
2626
hooks:
2727
- id: flake8
2828
args: [--config=.flake8]

tests/test_compression.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ def test_uint8(self):
5757
def test_int16(self):
5858
self.verify(
5959
np.int16,
60-
np.array(
61-
[2**15 - 1, -(2**15) + 1, 2**7 + 1, -(2**7) - 1], dtype=np.int64
62-
),
60+
np.array([2**15 - 1, -(2**15) + 1, 2**7 + 1, -(2**7) - 1], dtype=np.int64),
6361
)
6462

6563
def test_uint16(self):

0 commit comments

Comments
 (0)