From dc75d4debfba20137be29d2f784414d2a2fa8a56 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 20:50:59 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.6.0) - [github.com/codespell-project/codespell: v2.2.5 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.5...v2.3.0) - [github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.4.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.281...v0.4.9) - [github.com/asottile/blacken-docs: 1.15.0 → 1.16.0](https://github.com/asottile/blacken-docs/compare/1.15.0...1.16.0) - [github.com/nbQA-dev/nbQA: 1.7.0 → 1.8.5](https://github.com/nbQA-dev/nbQA/compare/1.7.0...1.8.5) - [github.com/pre-commit/mirrors-mypy: v1.4.1 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.4.1...v1.10.0) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c46f659..cd799a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 @@ -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$)" @@ -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] @@ -59,7 +59,7 @@ 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] @@ -67,7 +67,7 @@ repos: # 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$)" From 22f52accf3cf506c7886afae7b02c7c01d024616 Mon Sep 17 00:00:00 2001 From: Santhosh <52504160+santacodes@users.noreply.github.com> Date: Tue, 18 Jun 2024 21:25:54 +0530 Subject: [PATCH 2/2] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd799a2..5e15bce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,3 +71,6 @@ repos: hooks: - id: mypy files: "^(src/pybamm_cookiecutter|tests$)" + +exclude: + CODE-OF-CONDUCT.md