Skip to content

Conversation

@pre-commit-ci
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Jan 5, 2026

User description

updates:


PR Type

Enhancement


Description

  • Updated pre-commit dependencies to latest versions

  • isort upgraded from 6.1.0 to 7.0.0

  • black upgraded from 25.9.0 to 25.12.0

  • ruff upgraded from v0.13.3 to v0.14.10


Diagram Walkthrough

flowchart LR
  A["Update isort"] -- "6.1.0 → 7.0.0" --> B["Update black"]
  B -- "25.9.0 → 25.12.0" --> C["Update ruff"]
  C -- "v0.13.3 → v0.14.10" --> D["Dependencies updated"]
Loading

File Walkthrough

Relevant files
Dependencies
.pre-commit-config.yaml
Upgrade pre-commit dependencies                                                   

.pre-commit-config.yaml

  • Updated isort version to 7.0.0
  • Updated black version to 25.12.0
  • Updated ruff version to v0.14.10
+3/-3     

updates:
- [github.com/pycqa/isort: 6.1.0 → 7.0.0](PyCQA/isort@6.1.0...7.0.0)
- [github.com/psf/black-pre-commit-mirror: 25.9.0 → 25.12.0](psf/black-pre-commit-mirror@25.9.0...25.12.0)
- [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.10](astral-sh/ruff-pre-commit@v0.13.3...v0.14.10)
@PRAgent4INC
Copy link
Collaborator

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Version Compatibility

Ensure that the updated versions of isort, black, and ruff are compatible with the existing codebase and do not introduce breaking changes.

  rev: 7.0.0
  hooks:
    - id: isort
      exclude: |
        (?x)^(
            examples/.+|
            neural_compressor/torch/algorithms/fp8_quant/.+|
            test/3x/torch/.+
        )$

- repo: https://github.com/PyCQA/docformatter
  rev: v1.7.7
  hooks:
    - id: docformatter
      args: [
          --in-place,
          --wrap-summaries=0, # 0 means disable wrap
          --wrap-descriptions=0, # 0 means disable wrap
          --black,
          --style=google,
        ]
      exclude: |
        (?x)^(
            examples/.+|
            neural_compressor/torch/algorithms/fp8_quant/.+|
            test/3x/torch/.+
        )$

- repo: https://github.com/psf/black-pre-commit-mirror
  rev: 25.12.0
  hooks:
    - id: black
      files: (.*\.py)$
      exclude: |
        (?x)^(
            examples/.+|
            neural_compressor/torch/algorithms/fp8_quant/.+|
            test/3x/torch/.+
        )$

- repo: https://github.com/asottile/blacken-docs
  rev: 1.20.0
  hooks:
    - id: blacken-docs
      args: [--line-length=120, --skip-errors]
      additional_dependencies:
        - black==25.9.0
      exclude: |
        (?x)^(
            examples/.+|
            neural_compressor/torch/algorithms/fp8_quant/.+|
            test/3x/torch/.+
        )$

- repo: https://github.com/codespell-project/codespell
  rev: v2.4.1
  hooks:
    - id: codespell
      args: [-w]
      additional_dependencies:
        - tomli
      exclude: |
        (?x)^(
            examples/.*(txt|patch)|
            examples/deprecated/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/prompt.json|
            neural_compressor/torch/algorithms/fp8_quant/internal/diffusion_evaluation/SR_evaluation/imagenet1000_clsidx_to_labels.txt|
            neural_compressor/evaluation/hf_eval/datasets/cnn_validation.json|
            neural_compressor/torch/algorithms/fp8_quant/.+|
            test/3x/torch/.+
        )$

- repo: https://github.com/astral-sh/ruff-pre-commit
  rev: v0.14.10

@PRAgent4INC
Copy link
Collaborator

PR Code Suggestions ✨

No code suggestions found for the PR.

Signed-off-by: Sun, Xuehao <[email protected]>
@XuehaoSun XuehaoSun merged commit 17703ba into master Jan 7, 2026
14 checks passed
@XuehaoSun XuehaoSun deleted the pre-commit-ci-update-config branch January 7, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants