Skip to content

Commit

Permalink
Merge pull request #80 from legend-exp/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
chore: update pre-commit hooks
  • Loading branch information
gipert authored Apr 12, 2024
2 parents 4965e2a + 53a656f commit a483bcd
Show file tree
Hide file tree
Showing 24 changed files with 114 additions and 102 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
additional_dependencies: [black==23.*]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
rev: "v4.6.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -29,7 +29,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/kynan/nbstripout
rev: "0.6.1"
rev: "0.7.1"
hooks:
- id: nbstripout
args:
Expand All @@ -40,7 +40,7 @@ repos:
]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.13"
rev: "v0.3.7"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -52,7 +52,7 @@ repos:
- id: codespell

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

Expand All @@ -72,12 +72,12 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
rev: v0.16
hooks:
- id: validate-pyproject

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.28.2
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
1 change: 1 addition & 0 deletions docs/source/extensions/numbadoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Adapted from https://github.com/numba/numba/issues/5755#issuecomment-646587651
"""

from __future__ import annotations

from collections.abc import Iterator
Expand Down
Loading

0 comments on commit a483bcd

Please sign in to comment.