From a89af8f2030536ff002d30258bcbe4de093e6311 Mon Sep 17 00:00:00 2001 From: Gil Forcada Codinachs Date: Wed, 5 Jun 2024 20:04:58 +0200 Subject: [PATCH] feat(pre-commit): bump codespell And ensure `assertIn` is ignored, as that gives LOTS of false positives. Hopefully the upstream issue is solved: https://github.com/codespell-project/codespell/issues/3430 --- config/default/pre-commit-config.yaml.j2 | 2 +- config/default/pyproject.toml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default/pre-commit-config.yaml.j2 b/config/default/pre-commit-config.yaml.j2 index acdd5da..140b52e 100644 --- a/config/default/pre-commit-config.yaml.j2 +++ b/config/default/pre-commit-config.yaml.j2 @@ -41,7 +41,7 @@ repos: # """ ## - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: diff --git a/config/default/pyproject.toml.j2 b/config/default/pyproject.toml.j2 index 4f5edb1..4249ee0 100644 --- a/config/default/pyproject.toml.j2 +++ b/config/default/pyproject.toml.j2 @@ -82,7 +82,7 @@ target-version = ["py38"] ## [tool.codespell] -ignore-words-list = "discreet,%(codespell_ignores)s" +ignore-words-list = "discreet,assertin,%(codespell_ignores)s" skip = "*.po,%(codespell_skip)s" ## # Add extra configuration options in .meta.toml: