Skip to content

Commit

Permalink
Merge pull request #128 from legend-exp/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
chore: update pre-commit hooks
  • Loading branch information
gipert authored Jan 14, 2025
2 parents 269111a + 28760e9 commit 487d3a2
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 29 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.18.0"
rev: "1.19.1"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.*]
Expand All @@ -29,7 +29,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/kynan/nbstripout
rev: "0.7.1"
rev: "0.8.1"
hooks:
- id: nbstripout
args:
Expand All @@ -40,7 +40,7 @@ repos:
]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.6.9"
rev: "v0.8.6"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down Expand Up @@ -72,12 +72,12 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.20.2
rev: v0.23
hooks:
- id: validate-pyproject

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.3
rev: 0.30.0
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
12 changes: 6 additions & 6 deletions src/lgdo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,23 @@
)

__all__ = [
"LGDO",
"Array",
"ArrayOfEqualSizedArrays",
"ArrayOfEncodedEqualSizedArrays",
"ArrayOfEqualSizedArrays",
"FixedSizeArray",
"Histogram",
"LGDO",
"LH5Iterator",
"LH5Store",
"Scalar",
"Struct",
"Table",
"VectorOfVectors",
"VectorOfEncodedVectors",
"VectorOfVectors",
"WaveformTable",
"__version__",
"load_dfs",
"load_nda",
"ls",
"show",
"LH5Iterator",
"LH5Store",
"__version__",
]
6 changes: 3 additions & 3 deletions src/lgdo/compression/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
from .varlen import ULEB128ZigZagDiff

__all__ = [
"WaveformCodec",
"encode",
"decode",
"RadwareSigcompress",
"ULEB128ZigZagDiff",
"WaveformCodec",
"decode",
"encode",
]
4 changes: 2 additions & 2 deletions src/lgdo/lh5/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
"LH5Store",
"load_dfs",
"load_nda",
"ls",
"read",
"write",
"read_as",
"ls",
"read_n_rows",
"show",
"write",
]
20 changes: 10 additions & 10 deletions src/lgdo/lh5/_serializers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@
from .write.vector_of_vectors import _h5_write_vector_of_vectors

__all__ = [
"_h5_read_lgdo",
"_h5_read_vector_of_vectors",
"_h5_read_ndarray",
"_h5_read_array",
"_h5_read_array_of_encoded_equalsized_arrays",
"_h5_read_array_of_equalsized_arrays",
"_h5_read_encoded_array",
"_h5_read_fixedsize_array",
"_h5_read_array_of_equalsized_arrays",
"_h5_read_struct",
"_h5_read_table",
"_h5_read_histogram",
"_h5_read_lgdo",
"_h5_read_ndarray",
"_h5_read_scalar",
"_h5_read_array_of_encoded_equalsized_arrays",
"_h5_read_struct",
"_h5_read_table",
"_h5_read_vector_of_encoded_vectors",
"_h5_write_scalar",
"_h5_read_vector_of_vectors",
"_h5_write_array",
"_h5_write_vector_of_vectors",
"_h5_write_struct",
"_h5_write_lgdo",
"_h5_write_scalar",
"_h5_write_struct",
"_h5_write_vector_of_vectors",
]
6 changes: 3 additions & 3 deletions src/lgdo/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
from .waveformtable import WaveformTable

__all__ = [
"LGDO",
"Array",
"ArrayOfEqualSizedArrays",
"ArrayOfEncodedEqualSizedArrays",
"ArrayOfEqualSizedArrays",
"FixedSizeArray",
"Histogram",
"LGDO",
"Scalar",
"Struct",
"Table",
"VectorOfVectors",
"VectorOfEncodedVectors",
"VectorOfVectors",
"WaveformTable",
]

Expand Down

0 comments on commit 487d3a2

Please sign in to comment.