From d173ee2ac2d41f137d6e20a62aeb5c3c739de9b9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 01:55:54 +0000 Subject: [PATCH 1/2] chore(deps): update pre-commit dependencies --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fc1b4822f381b..3b65abf3510b7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: )$ - repo: https://github.com/crate-ci/typos - rev: v1.19.0 + rev: v1.20.4 hooks: - id: typos @@ -55,7 +55,7 @@ repos: pass_filenames: false # This makes it a lot faster - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.4 + rev: v0.3.5 hooks: - id: ruff-format - id: ruff From c7f6f101b79486e44a177d91cd72902bc7e17fa1 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Mon, 8 Apr 2024 14:03:10 +0100 Subject: [PATCH 2/2] ignore new false positives --- _typos.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_typos.toml b/_typos.toml index 1987a214db5d4..f239540e3af36 100644 --- a/_typos.toml +++ b/_typos.toml @@ -3,9 +3,11 @@ extend-exclude = ["**/resources/**/*", "**/snapshots/**/*"] [default.extend-words] +"arange" = "arange" # e.g. `numpy.arange` hel = "hel" whos = "whos" spawnve = "spawnve" ned = "ned" +pn = "pn" # `import panel as pd` is a thing poit = "poit" BA = "BA" # acronym for "Bad Allowed", used in testing.