Skip to content

Commit 487d3a2

Browse files
authored
Merge pull request #128 from legend-exp/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents 269111a + 28760e9 commit 487d3a2

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/adamchainz/blacken-docs
8-
rev: "1.18.0"
8+
rev: "1.19.1"
99
hooks:
1010
- id: blacken-docs
1111
additional_dependencies: [black==23.*]
@@ -29,7 +29,7 @@ repos:
2929
- id: trailing-whitespace
3030

3131
- repo: https://github.com/kynan/nbstripout
32-
rev: "0.7.1"
32+
rev: "0.8.1"
3333
hooks:
3434
- id: nbstripout
3535
args:
@@ -40,7 +40,7 @@ repos:
4040
]
4141

4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: "v0.6.9"
43+
rev: "v0.8.6"
4444
hooks:
4545
- id: ruff
4646
args: ["--fix", "--show-fixes"]
@@ -72,12 +72,12 @@ repos:
7272
args: [--prose-wrap=always]
7373

7474
- repo: https://github.com/abravalheri/validate-pyproject
75-
rev: v0.20.2
75+
rev: v0.23
7676
hooks:
7777
- id: validate-pyproject
7878

7979
- repo: https://github.com/python-jsonschema/check-jsonschema
80-
rev: 0.29.3
80+
rev: 0.30.0
8181
hooks:
8282
- id: check-dependabot
8383
- id: check-github-workflows

src/lgdo/__init__.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -62,23 +62,23 @@
6262
)
6363

6464
__all__ = [
65+
"LGDO",
6566
"Array",
66-
"ArrayOfEqualSizedArrays",
6767
"ArrayOfEncodedEqualSizedArrays",
68+
"ArrayOfEqualSizedArrays",
6869
"FixedSizeArray",
6970
"Histogram",
70-
"LGDO",
71+
"LH5Iterator",
72+
"LH5Store",
7173
"Scalar",
7274
"Struct",
7375
"Table",
74-
"VectorOfVectors",
7576
"VectorOfEncodedVectors",
77+
"VectorOfVectors",
7678
"WaveformTable",
79+
"__version__",
7780
"load_dfs",
7881
"load_nda",
7982
"ls",
8083
"show",
81-
"LH5Iterator",
82-
"LH5Store",
83-
"__version__",
8484
]

src/lgdo/compression/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
from .varlen import ULEB128ZigZagDiff
3131

3232
__all__ = [
33-
"WaveformCodec",
34-
"encode",
35-
"decode",
3633
"RadwareSigcompress",
3734
"ULEB128ZigZagDiff",
35+
"WaveformCodec",
36+
"decode",
37+
"encode",
3838
]

src/lgdo/lh5/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"LH5Store",
2121
"load_dfs",
2222
"load_nda",
23+
"ls",
2324
"read",
24-
"write",
2525
"read_as",
26-
"ls",
2726
"read_n_rows",
2827
"show",
28+
"write",
2929
]

src/lgdo/lh5/_serializers/__init__.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@
2424
from .write.vector_of_vectors import _h5_write_vector_of_vectors
2525

2626
__all__ = [
27-
"_h5_read_lgdo",
28-
"_h5_read_vector_of_vectors",
29-
"_h5_read_ndarray",
3027
"_h5_read_array",
28+
"_h5_read_array_of_encoded_equalsized_arrays",
29+
"_h5_read_array_of_equalsized_arrays",
3130
"_h5_read_encoded_array",
3231
"_h5_read_fixedsize_array",
33-
"_h5_read_array_of_equalsized_arrays",
34-
"_h5_read_struct",
35-
"_h5_read_table",
3632
"_h5_read_histogram",
33+
"_h5_read_lgdo",
34+
"_h5_read_ndarray",
3735
"_h5_read_scalar",
38-
"_h5_read_array_of_encoded_equalsized_arrays",
36+
"_h5_read_struct",
37+
"_h5_read_table",
3938
"_h5_read_vector_of_encoded_vectors",
40-
"_h5_write_scalar",
39+
"_h5_read_vector_of_vectors",
4140
"_h5_write_array",
42-
"_h5_write_vector_of_vectors",
43-
"_h5_write_struct",
4441
"_h5_write_lgdo",
42+
"_h5_write_scalar",
43+
"_h5_write_struct",
44+
"_h5_write_vector_of_vectors",
4545
]

src/lgdo/types/__init__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
from .waveformtable import WaveformTable
1616

1717
__all__ = [
18+
"LGDO",
1819
"Array",
19-
"ArrayOfEqualSizedArrays",
2020
"ArrayOfEncodedEqualSizedArrays",
21+
"ArrayOfEqualSizedArrays",
2122
"FixedSizeArray",
2223
"Histogram",
23-
"LGDO",
2424
"Scalar",
2525
"Struct",
2626
"Table",
27-
"VectorOfVectors",
2827
"VectorOfEncodedVectors",
28+
"VectorOfVectors",
2929
"WaveformTable",
3030
]
3131

0 commit comments

Comments
 (0)