Skip to content

Commit 74218cf

Browse files
[pre-commit.ci] pre-commit autoupdate (#2304)
Signed-off-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sun, Xuehao <xuehao.sun@intel.com>
1 parent 35d72bd commit 74218cf

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: end-of-file-fixer
1010
files: (.*\.(py|md|rst|yaml|yml))$
@@ -22,8 +22,6 @@ repos:
2222
- id: check-yaml
2323
exclude: |
2424
(?x)^(
25-
conda_meta/|
26-
neural_compressor/template/pruning.yaml|
2725
neural_compressor/adaptor/tensorflow_itex.yaml|
2826
neural_compressor/adaptor/tensorflow.yaml
2927
)$
@@ -72,7 +70,7 @@ repos:
7270
name: Unused noqa
7371

7472
- repo: https://github.com/pycqa/isort
75-
rev: 6.0.1
73+
rev: 6.1.0
7674
hooks:
7775
- id: isort
7876
exclude: |
@@ -100,8 +98,8 @@ repos:
10098
test/3x/torch/.+
10199
)$
102100
103-
- repo: https://github.com/psf/black.git
104-
rev: 25.1.0
101+
- repo: https://github.com/psf/black-pre-commit-mirror
102+
rev: 25.9.0
105103
hooks:
106104
- id: black
107105
files: (.*\.py)$
@@ -113,12 +111,12 @@ repos:
113111
)$
114112
115113
- repo: https://github.com/asottile/blacken-docs
116-
rev: 1.19.1
114+
rev: 1.20.0
117115
hooks:
118116
- id: blacken-docs
119117
args: [--line-length=120, --skip-errors]
120118
additional_dependencies:
121-
- black==25.1.0
119+
- black==25.9.0
122120
exclude: |
123121
(?x)^(
124122
examples/.+|
@@ -137,16 +135,14 @@ repos:
137135
(?x)^(
138136
examples/.*(txt|patch)|
139137
examples/onnxrt/nlp/huggingface_model/text_generation/llama/quantization/ptq_static/prompt.json|
140-
examples/notebook/dynas/ResNet50_Quantiation_Search_Supernet_NAS.ipynb|
141-
examples/notebook/dynas/Transformer_LT_Supernet_NAS.ipynb|
142138
neural_compressor/torch/algorithms/fp8_quant/internal/diffusion_evaluation/SR_evaluation/imagenet1000_clsidx_to_labels.txt|
143139
neural_compressor/evaluation/hf_eval/datasets/cnn_validation.json|
144140
neural_compressor/torch/algorithms/fp8_quant/.+|
145141
test/3x/torch/.+
146142
)$
147143
148144
- repo: https://github.com/astral-sh/ruff-pre-commit
149-
rev: v0.12.2
145+
rev: v0.13.3
150146
hooks:
151147
- id: ruff
152148
args: [--fix, --exit-non-zero-on-fix, --no-cache]

0 commit comments

Comments
 (0)