Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 2 additions & 4 deletions test/scripts/result_file_to_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}\".
Expand Down Expand Up @@ -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"),
)


Expand Down
Loading