Skip to content

Commit

Permalink
chore: update pre-commit hooks (pybamm-team#14)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 →
v4.6.0](pre-commit/pre-commit-hooks@v4.4.0...v4.6.0)
- [github.com/codespell-project/codespell: v2.2.5 →
v2.3.0](codespell-project/codespell@v2.2.5...v2.3.0)
- [github.com/astral-sh/ruff-pre-commit: v0.0.281 →
v0.4.9](astral-sh/ruff-pre-commit@v0.0.281...v0.4.9)
- [github.com/asottile/blacken-docs: 1.15.0 →
1.16.0](adamchainz/blacken-docs@1.15.0...1.16.0)
- [github.com/nbQA-dev/nbQA: 1.7.0 →
1.8.5](nbQA-dev/nbQA@1.7.0...1.8.5)
- [github.com/pre-commit/mirrors-mypy: v1.4.1 →
v1.10.0](pre-commit/mirrors-mypy@v1.4.1...v1.10.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Santhosh <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and santacodes authored Jun 18, 2024
1 parent f4812f3 commit e85f0ba
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 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,18 @@ 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$)"

exclude:
CODE-OF-CONDUCT.md

0 comments on commit e85f0ba

Please sign in to comment.