Skip to content

Commit a9ce6c3

Browse files
[CI] Update pre-commit hooks (#648)
* [CI] Update pre-commit hooks * Remove pylint --------- Co-authored-by: hcho3 <2532981+hcho3@users.noreply.github.com> Co-authored-by: Hyunsu Cho <phcho@nvidia.com>
1 parent ab1937d commit a9ce6c3

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: check-added-large-files
1111
args: ["--maxkb=4000"]
1212
- repo: https://github.com/psf/black
13-
rev: 25.11.0
13+
rev: 25.12.0
1414
hooks:
1515
- id: black
1616
- repo: https://github.com/pycqa/isort
@@ -32,17 +32,6 @@ repos:
3232
types: [file]
3333
types_or: [python]
3434
additional_dependencies: [flake8-force]
35-
- repo: local
36-
hooks:
37-
- id: pylint
38-
name: pylint
39-
entry: python dev/run_pylint.py
40-
language: python
41-
types: [python]
42-
additional_dependencies: [
43-
pylint>=4.0.0, hatchling, pytest, scikit-learn>=1.7.0, hypothesis, pandas, treelite,
44-
lightgbm, xgboost-cpu>=3.0.0, tqdm
45-
]
4635
- repo: https://github.com/pocc/pre-commit-hooks
4736
rev: v1.3.5
4837
hooks:
@@ -60,12 +49,12 @@ repos:
6049
additional_dependencies: [cpplint==1.6.1]
6150
types_or: [c++]
6251
- repo: https://github.com/pre-commit/mirrors-mypy
63-
rev: v1.18.2
52+
rev: v1.19.0
6453
hooks:
6554
- id: mypy
6655
additional_dependencies: [types-setuptools]
6756
- repo: https://github.com/astral-sh/ruff-pre-commit
68-
rev: v0.14.5
57+
rev: v0.14.8
6958
hooks:
7059
- id: ruff
7160
args: ["--config", "python/pyproject.toml"]

0 commit comments

Comments
 (0)