Skip to content

Commit

Permalink
feat(pre-commit): bump codespell
Browse files Browse the repository at this point in the history
And ensure `assertIn` is ignored, as that gives LOTS of false positives.

Hopefully the upstream issue is solved:

codespell-project/codespell#3430
  • Loading branch information
gforcada committed Jun 5, 2024
1 parent 721299c commit a89af8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/default/pre-commit-config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion config/default/pyproject.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a89af8f

Please sign in to comment.