Skip to content

Commit

Permalink
Update pre-commit (#120)
Browse files Browse the repository at this point in the history
* Update pre-commit action version

* Update pre-commit plugin versions
  • Loading branch information
smithara authored Jan 29, 2025
1 parent 0b0c274 commit 3570b7e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
extend-ignore = E203, E501, E722, B950, T001
extend-ignore = E203, E501, E722, B950, T001, W503, B904, B905, E741, E226
select = C,E,F,W,T,B,B9,I
per-file-ignores =
tests/*: T
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1
with:
extra_args: --hook-stage manual --all-files

Expand Down
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 25.1.0
hooks:
- id: black-jupyter

- repo: https://github.com/kynan/nbstripout
rev: "0.5.0"
rev: "0.8.1"
hooks:
- id: nbstripout

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -24,7 +24,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
rev: v1.10.0
hooks:
- id: python-check-blanket-noqa
# - id: python-check-blanket-type-ignore
Expand All @@ -35,13 +35,13 @@ repos:
- id: rst-inline-touching-normal

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

- repo: https://github.com/asottile/pyupgrade
rev: v3.4.0
rev: v3.19.1
hooks:
- id: pyupgrade
args: ["--py37-plus"]
Expand All @@ -53,7 +53,7 @@ repos:
# args: [--config=pyproject.toml]

- repo: https://github.com/asottile/yesqa
rev: v1.3.0
rev: v1.5.0
hooks:
- id: yesqa
exclude: docs/conf.py
Expand All @@ -62,7 +62,7 @@ repos:
# - flake8-print

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 7.1.1
hooks:
- id: flake8
exclude: docs/conf.py
Expand All @@ -81,7 +81,7 @@ repos:
# - id: codespell

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.4
rev: v0.10.0.1
hooks:
- id: shellcheck

Expand Down

0 comments on commit 3570b7e

Please sign in to comment.