diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec094393..5b2f5ea3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,7 @@ repos: rev: v2.3.0 hooks: - id: codespell + additional_dependencies: ["tomli"] - repo: https://github.com/alan-turing-institute/CleverCSV-pre-commit rev: v0.8.2 hooks: diff --git a/pyproject.toml b/pyproject.toml index f56a9ae6..3050f05f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -156,6 +156,9 @@ combine-as-imports = true split-on-trailing-comma = false known-first-party = ["typeshed_stats"] +[tool.codespell] +ignore-words-list = ["corus"] + [tool.mypy] files = ['website_macros.py', 'src', 'tests', 'scripts'] show_traceback = true