Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.25.2
rev: v1.26.1
hooks:
- id: zizmor
# This should be before any formatting hooks like isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.15"
rev: "v0.15.20"
hooks:
- id: ruff
args: ["--fix"]
types: [python]
# Define here once and then reference using YAML anchor
exclude: &exclude_dirs ^sunkit_image/(data|extern)/
- repo: https://github.com/PyCQA/isort
rev: 8.0.1
rev: 9.0.0a3
hooks:
- id: isort
types: [python]
Expand Down Expand Up @@ -46,13 +46,13 @@ repos:
- id: mixed-line-ending
types_or: [python, rst]
- repo: https://github.com/adhtruong/mirrors-typos
rev: v1.45.0
rev: v1.48.0
hooks:
- id: typos
types_or: [python, rst]
exclude: *exclude_dirs
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.20.0"
rev: "v2.1.0"
hooks:
- id: mypy
additional_dependencies: ["types-setuptools"]
Expand Down
Loading