From c575bae710bd12dce37a09f42467e72276a5ef00 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 10 Sep 2024 13:33:27 -0700 Subject: [PATCH] feat: add codespell as pre-commit hook --- .pre-commit-config.yaml | 5 +++++ requirements/requirements-dev.in | 1 + 2 files changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index daec59aae..cc1b4fd1c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,3 +14,8 @@ repos: hooks: - id: flake8 args: ["--show-source"] + - repo: https://github.com/codespell-project/codespell + rev: v2.2.6 + hooks: + - id: codespell + args: ["--write-changes"] diff --git a/requirements/requirements-dev.in b/requirements/requirements-dev.in index 2ceb41fc5..ccd86fcce 100644 --- a/requirements/requirements-dev.in +++ b/requirements/requirements-dev.in @@ -12,3 +12,4 @@ imgcat pre-commit cogapp semver +codespell