Skip to content

[pre-commit.ci] pre-commit autoupdate#10

Merged
wenh06 merged 10 commits intomasterfrom
pre-commit-ci-update-config
Mar 24, 2026
Merged

[pre-commit.ci] pre-commit autoupdate#10
wenh06 merged 10 commits intomasterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 28d0f77 to 2da9e47 Compare January 19, 2026 16:32
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 93fa498 to b5b5063 Compare February 23, 2026 16:33
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch 2 times, most recently from a430460 to 77eafd5 Compare March 9, 2026 16:33
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0)
- https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 24.8.0 → 26.3.1](psf/black-pre-commit-mirror@24.8.0...26.3.1)
- [github.com/PyCQA/flake8: 7.1.1 → 7.3.0](PyCQA/flake8@7.1.1...7.3.0)
- [github.com/pycqa/isort: 5.13.2 → 8.0.1](PyCQA/isort@5.13.2...8.0.1)
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from 6647cd8 to af83628 Compare March 16, 2026 16:32
pre-commit-ci bot and others added 3 commits March 16, 2026 16:33
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0)
- https://github.com/psf/blackhttps://github.com/psf/black-pre-commit-mirror
- [github.com/psf/black-pre-commit-mirror: 24.8.0 → 26.3.1](psf/black-pre-commit-mirror@24.8.0...26.3.1)
- [github.com/PyCQA/flake8: 7.1.1 → 7.3.0](PyCQA/flake8@7.1.1...7.3.0)
- [github.com/pycqa/isort: 5.13.2 → 8.0.1](PyCQA/isort@5.13.2...8.0.1)
@pre-commit-ci pre-commit-ci bot force-pushed the pre-commit-ci-update-config branch from e24ee89 to 1ee86d8 Compare March 23, 2026 16:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repo’s pre-commit tooling versions and applies the resulting auto-formatting changes across a handful of Python modules, alongside updating the formatting CI job’s Python version matrix.

Changes:

  • Bump pre-commit hook revisions (pre-commit-hooks, black mirror, flake8, isort) and adjust flake8 ignores.
  • Apply formatter-driven whitespace/docstring and string formatting changes in several Python files.
  • Update the formatting GitHub Actions workflow to run on newer Python versions.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
utils/utils_interval.py Minor whitespace formatting after module docstring.
utils/scoring_metrics_test.py Formatter-driven docstring and textwrap.dedent call formatting changes.
utils/misc.py Formatter-driven module docstring formatting change.
utils/__init__.py Formatter-driven module docstring formatting change.
trainer.py Formatter-driven textwrap.dedent call formatting changes.
test_entry.py Formatter-driven module docstring formatting change.
sample_data/__init__.py Formatter-driven module docstring formatting change.
gather_results.py Formatter-driven module docstring formatting change.
dataset.py Formatter-driven nildent call formatting change.
data_reader.py Formatter-driven module docstring formatting change.
cfg.py Formatter-driven module docstring formatting change.
.pre-commit-config.yaml Pre-commit hook autoupdate (versions + black mirror switch + flake8 ignore tweak).
.github/workflows/check-formatting.yml Update formatting CI Python matrix versions.
Comments suppressed due to low confidence (1)

.github/workflows/check-formatting.yml:23

  • The workflow matrix now includes Python 3.12, but this job installs the full requirements.txt (and also pins torch==1.10.0+cu113). Several pinned deps in requirements.txt (e.g., numpy 1.22 / scipy 1.6 / pandas 1.2) and torch 1.10 are very unlikely to install on 3.12, so the formatting check will likely fail before pre-commit runs. Consider either (a) limiting the matrix to versions compatible with the pinned deps, or (b) removing the heavyweight dependency installs from this formatting-only job and just running pre-commit (or installing only pre-commit’s own dependencies).
        python-version: ["3.10", "3.12"]

    steps:
    - uses: actions/checkout@v4
    - name: Set up Python ${{ matrix.python-version }}

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wenh06 wenh06 merged commit ac42e6e into master Mar 24, 2026
3 checks passed
@wenh06 wenh06 deleted the pre-commit-ci-update-config branch March 24, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants