diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a20e7352..b16aa835 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,9 +18,6 @@ repos: hooks: - id: codespell files: ^.*\.(py|md|rst)$ - # TODO: Remove after python version >= 3.11 - additional_dependencies: - - tomli - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.5.6 hooks: diff --git a/pyproject.toml b/pyproject.toml index 4c619937..c89edb08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -180,4 +180,7 @@ line-ending = "lf" [tool.codespell] write-changes = true -ignore-words-list = ["num", "ans"] +# this has to be a string of the form a,b,c +# ignore-words-list = "" +# ignore comments like: # codespell: ignore +ignore-regex=".+# *codespell: *ignore.*"