From e3e6437dcae4f6a6cfaa4d51c146784d8fdeefda Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 10 Sep 2024 13:37:18 -0700 Subject: [PATCH] chore: configure codespell to use pyproject.toml and skip specific files --- .pre-commit-config.yaml | 3 ++- pyproject.toml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc1b4fd1c..2a62f51e1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,4 +18,5 @@ repos: rev: v2.2.6 hooks: - id: codespell - args: ["--write-changes"] + additional_dependencies: + - tomli diff --git a/pyproject.toml b/pyproject.toml index 7e78a16dc..074f3b054 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,3 +67,6 @@ build-backend = "setuptools.build_meta" [tool.setuptools_scm] write_to = "aider/__version__.py" + +[tool.codespell] +skip = "*.svg,Gemfile.lock"