Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update pre-commit hooks #14

Merged
merged 2 commits into from
Jun 18, 2024
Merged
Changes from 1 commit
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
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
# Standard and general-purpose hooks

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -20,7 +20,7 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.3.0
hooks:
- id: codespell

Expand All @@ -35,7 +35,7 @@ repos:
# Python files

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.281
rev: v0.4.9
hooks:
- id: ruff
files: "^(src/pybamm_cookiecutter|tests$)"
Expand All @@ -44,7 +44,7 @@ repos:
# Documentation files

- repo: https://github.com/asottile/blacken-docs
rev: "1.15.0"
rev: "1.16.0"
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]
Expand All @@ -59,15 +59,15 @@ repos:
# Jupyter notebooks

- repo: https://github.com/nbQA-dev/nbQA
rev: "1.7.0"
rev: "1.8.5"
hooks:
- id: nbqa-ruff
additional_dependencies: [ruff==0.0.281]

# mypy

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.10.0
hooks:
- id: mypy
files: "^(src/pybamm_cookiecutter|tests$)"
Loading