From 1ff716b1d98da896fe2c78584d695b4db54347a6 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 23 May 2025 18:12:01 -0400 Subject: [PATCH 1/2] chore: move codespell config to pyproject.toml Signed-off-by: Henry Schreiner --- .pre-commit-config.yaml | 2 +- pyproject.toml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2705e71a6..2304b31fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -75,7 +75,7 @@ repos: rev: v2.4.1 hooks: - id: codespell - args: ["-L", "sur,assertin,hep", "-w"] + args: ["-w"] exclude: ^docs/working-examples\.md$ # Autogenerated diff --git a/pyproject.toml b/pyproject.toml index cb5ae27a6..476d9dead 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -231,3 +231,14 @@ ignore = ["PC170", "PP303"] [tool.check-wheel-contents] ignore = ["W002"] # constraints-*.txt are allowed to be duplicates of one another + +[tool.codespell] +ignore-words-list = [ + "sur", + "assertin", +] +skip = [ + '^docs/working-examples\.md', + 'htmlcov', + 'all_known_setup.yaml', +] \ No newline at end of file From 7d97e1537277cf4d06c6045e3af20ee3fda23700 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 23 May 2025 22:13:47 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 476d9dead..601e384ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -241,4 +241,4 @@ skip = [ '^docs/working-examples\.md', 'htmlcov', 'all_known_setup.yaml', -] \ No newline at end of file +]