Skip to content

Commit 1b864ae

Browse files
authored
Merge pull request #17 from legend-exp/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents f955774 + 8b55ce3 commit 1b864ae

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.pre-commit-config.yaml

+13-13
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ci:
55

66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: "v4.4.0"
8+
rev: "v5.0.0"
99
hooks:
1010
- id: check-added-large-files
1111
- id: check-case-conflict
@@ -24,41 +24,41 @@ repos:
2424
- id: trailing-whitespace
2525

2626
- repo: https://github.com/asottile/setup-cfg-fmt
27-
rev: "v2.2.0"
27+
rev: "v2.7.0"
2828
hooks:
2929
- id: setup-cfg-fmt
3030

3131
- repo: https://github.com/PyCQA/isort
32-
rev: "5.12.0"
32+
rev: "5.13.2"
3333
hooks:
3434
- id: isort
3535

3636
- repo: https://github.com/asottile/pyupgrade
37-
rev: "v3.3.1"
37+
rev: "v3.19.1"
3838
hooks:
3939
- id: pyupgrade
4040
args: ["--py36-plus"]
4141

4242
- repo: https://github.com/psf/black
43-
rev: "23.3.0"
43+
rev: "24.10.0"
4444
hooks:
4545
- id: black
4646

4747
- repo: https://github.com/pre-commit/mirrors-mypy
48-
rev: "v1.1.1"
48+
rev: "v1.14.1"
4949
hooks:
5050
- id: mypy
5151
files: src
5252
stages: [manual]
5353

5454
- repo: https://github.com/hadialqattan/pycln
55-
rev: "v2.1.3"
55+
rev: "v2.4.0"
5656
hooks:
5757
- id: pycln
5858
args: ["--all"]
5959

6060
- repo: https://github.com/PyCQA/flake8
61-
rev: "6.0.0"
61+
rev: "7.1.1"
6262
hooks:
6363
- id: flake8
6464
additional_dependencies: [
@@ -70,26 +70,26 @@ repos:
7070
args: ["--docstring-convention", "numpy"] # or google, change me
7171

7272
- repo: https://github.com/kynan/nbstripout
73-
rev: "0.6.1"
73+
rev: "0.8.1"
7474
hooks:
7575
- id: nbstripout
7676
args: ["--strip-empty-cells",
7777
"--extra-keys", "metadata.kernelspec metadata.language_info"]
7878

7979
- repo: https://github.com/mgedmin/check-manifest
80-
rev: "0.49"
80+
rev: "0.50"
8181
hooks:
8282
- id: check-manifest
8383
stages: [manual]
8484

8585
- repo: https://github.com/codespell-project/codespell
86-
rev: "v2.2.4"
86+
rev: "v2.3.0"
8787
hooks:
8888
- id: codespell
8989
args: ["-L", "nd,unparseable,compiletime"]
9090

9191
- repo: https://github.com/shellcheck-py/shellcheck-py
92-
rev: "v0.9.0.2"
92+
rev: "v0.10.0.1"
9393
hooks:
9494
- id: shellcheck
9595

@@ -102,7 +102,7 @@ repos:
102102
- id: rst-inline-touching-normal
103103

104104
- repo: https://github.com/pre-commit/mirrors-prettier
105-
rev: "v3.0.0-alpha.6"
105+
rev: "v4.0.0-alpha.8"
106106
hooks:
107107
- id: prettier
108108
types_or: [json]

setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ url = https://github.com/legend-exp/pylegendtestdata
77
author = The LEGEND collaboration
88
maintainer = The LEGEND collaboration
99
license = MIT
10-
license_file = LICENSE
10+
license_files = LICENSE
1111
classifiers =
1212
Development Status :: 4 - Beta
1313
Intended Audience :: Developers
@@ -30,7 +30,7 @@ classifiers =
3030
packages = find:
3131
install_requires =
3232
GitPython
33-
python_requires = >=3.7
33+
python_requires = >=3.9
3434
package_dir =
3535
= src
3636
zip_safe = False

0 commit comments

Comments
 (0)