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..601e384ef 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', +]