chore: configure codespell to use pyproject.toml and skip specific files

This commit is contained in:
Paul Gauthier (aider) 2024-09-10 13:37:18 -07:00
parent c575bae710
commit e3e6437dca
2 changed files with 5 additions and 1 deletions

View file

@ -18,4 +18,5 @@ repos:
rev: v2.2.6 rev: v2.2.6
hooks: hooks:
- id: codespell - id: codespell
args: ["--write-changes"] additional_dependencies:
- tomli

View file

@ -67,3 +67,6 @@ build-backend = "setuptools.build_meta"
[tool.setuptools_scm] [tool.setuptools_scm]
write_to = "aider/__version__.py" write_to = "aider/__version__.py"
[tool.codespell]
skip = "*.svg,Gemfile.lock"