diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61bfbfc9..343e0086 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,29 +26,29 @@ repos: hooks: - id: shellcheck - repo: https://github.com/rhysd/actionlint - rev: v1.7.9 + rev: v1.7.12 hooks: - id: actionlint - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.20.0 + rev: v0.23.0 hooks: - id: markdownlint-cli2 # Formatters should be run late so that they can re-format any prior changes. - repo: https://github.com/kynan/nbstripout - rev: 0.8.2 + rev: 0.9.1 hooks: - id: nbstripout - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.5.1 hooks: - id: black-jupyter args: ["--line-length", "120", "--target-version", "py310"] - repo: https://github.com/pycqa/isort - rev: 7.0.0 + rev: 9.0.0b1 hooks: - id: isort args: ["--profile", "black", "--py", "310"] diff --git a/test/scripts/result_file_to_parquet.py b/test/scripts/result_file_to_parquet.py index ce544b26..c5656949 100755 --- a/test/scripts/result_file_to_parquet.py +++ b/test/scripts/result_file_to_parquet.py @@ -159,8 +159,7 @@ def write_readme(result_file: pathlib.Path, output_prefix: pathlib.Path, chroms: chrom2 = "abc" f.write( - textwrap.dedent( - f""" + textwrap.dedent(f""" # README.md This folder contains the tables and metadata extracted from file \"{result_file.name}\". @@ -207,8 +206,7 @@ def write_readme(result_file: pathlib.Path, output_prefix: pathlib.Path, chroms: - `attributes.json`: JSON file with the attributes for the current chromosome. - `xxx_where.parquet`: PARQUET file with the data from table "xxx" for location "where" from the current chromosome. - `xxx_where.missing`: text file with the exception message raised when trying to access tables without data. - """ - ).lstrip("\n"), + """).lstrip("\n"), )