Skip to content

Commit 3570b7e

Browse files
authored
Update pre-commit (#120)
* Update pre-commit action version * Update pre-commit plugin versions
1 parent 0b0c274 commit 3570b7e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[flake8]
2-
extend-ignore = E203, E501, E722, B950, T001
2+
extend-ignore = E203, E501, E722, B950, T001, W503, B904, B905, E741, E226
33
select = C,E,F,W,T,B,B9,I
44
per-file-ignores =
55
tests/*: T

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-python@v5
19-
- uses: pre-commit/[email protected].0
19+
- uses: pre-commit/[email protected].1
2020
with:
2121
extra_args: --hook-stage manual --all-files
2222

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 22.3.0
3+
rev: 25.1.0
44
hooks:
55
- id: black-jupyter
66

77
- repo: https://github.com/kynan/nbstripout
8-
rev: "0.5.0"
8+
rev: "0.8.1"
99
hooks:
1010
- id: nbstripout
1111

1212
- repo: https://github.com/pre-commit/pre-commit-hooks
13-
rev: v4.1.0
13+
rev: v5.0.0
1414
hooks:
1515
- id: check-added-large-files
1616
- id: check-case-conflict
@@ -24,7 +24,7 @@ repos:
2424
- id: trailing-whitespace
2525

2626
- repo: https://github.com/pre-commit/pygrep-hooks
27-
rev: v1.9.0
27+
rev: v1.10.0
2828
hooks:
2929
- id: python-check-blanket-noqa
3030
# - id: python-check-blanket-type-ignore
@@ -35,13 +35,13 @@ repos:
3535
- id: rst-inline-touching-normal
3636

3737
- repo: https://github.com/PyCQA/isort
38-
rev: 5.12.0
38+
rev: 6.0.0
3939
hooks:
4040
- id: isort
4141
# args: ["-a", "from __future__ import annotations"] # Python 3.7+
4242

4343
- repo: https://github.com/asottile/pyupgrade
44-
rev: v3.4.0
44+
rev: v3.19.1
4545
hooks:
4646
- id: pyupgrade
4747
args: ["--py37-plus"]
@@ -53,7 +53,7 @@ repos:
5353
# args: [--config=pyproject.toml]
5454

5555
- repo: https://github.com/asottile/yesqa
56-
rev: v1.3.0
56+
rev: v1.5.0
5757
hooks:
5858
- id: yesqa
5959
exclude: docs/conf.py
@@ -62,7 +62,7 @@ repos:
6262
# - flake8-print
6363

6464
- repo: https://github.com/pycqa/flake8
65-
rev: 4.0.1
65+
rev: 7.1.1
6666
hooks:
6767
- id: flake8
6868
exclude: docs/conf.py
@@ -81,7 +81,7 @@ repos:
8181
# - id: codespell
8282

8383
- repo: https://github.com/shellcheck-py/shellcheck-py
84-
rev: v0.8.0.4
84+
rev: v0.10.0.1
8585
hooks:
8686
- id: shellcheck
8787

0 commit comments

Comments
 (0)