diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95cd25bc4..585e2873e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,6 +45,8 @@ repos: rev: v2.2.6 hooks: - id: codespell + additional_dependencies: + - tomli args: [-w] - repo: https://github.com/keewis/blackdoc diff --git a/pyproject.toml b/pyproject.toml index 01232762f..efe01dc91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,3 +28,7 @@ ignore = [ "setup.py" = ["T201"] "examples/*.py" = ["T201"] "tests/*.py" = ["T201", "B018"] + +[tool.codespell] +ignore-words-list = "connec" +skip="./docs/source/_generated/**,./docs/build/*,./build/*"