From 3b8189c101dbc99056c5592235491556b4cc8a43 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:50:10 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.5...v0.8.1) - [github.com/codingjoe/relint: 3.1.1 → 3.3.1](https://github.com/codingjoe/relint/compare/3.1.1...3.3.1) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f0212cc50..c52222140 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ default_language_version: python: python3 exclude: (^docs/(conf.py|_ext/)) -default_stages: [commit,push] +default_stages: [pre-commit,pre-push] fail_fast: false ci: @@ -17,7 +17,7 @@ repos: - id: pycln args: [--config=pyproject.toml] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.5 + rev: v0.8.1 hooks: - id: ruff args: @@ -37,7 +37,7 @@ repos: # ] # exclude: ^(docs|geoapps-assets)/ - repo: https://github.com/codingjoe/relint - rev: 3.1.1 + rev: 3.3.1 hooks: - id: relint args: [-W] # to fail on warnings @@ -65,7 +65,7 @@ repos: exclude: (-lock\.ya?ml|\benvironments/.*\.ya?ml|\.ipynb|^THIRD_PARTY_SOFTWARE\.rst)$ entry: codespell -I .codespellignore - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: trailing-whitespace exclude: \.mdj$