From a5213fb0eb45c7658d3a966b237f6053ce6bc762 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 18 Sep 2022 01:15:50 +0200 Subject: [PATCH] pre-commit: Fix typos using codespell (#141) --- .pre-commit-config.yaml | 5 +++++ setup.cfg | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0db2628..82d82c3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,11 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace + - repo: https://github.com/codespell-project/codespell + rev: v2.2.1 + hooks: + - id: codespell + - repo: https://github.com/asottile/reorder_python_imports rev: v3.8.2 hooks: diff --git a/setup.cfg b/setup.cfg index 1a31da5..cf91c83 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,7 @@ classifiers = Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only Topic :: Software Development :: Quality Assurance -kewords = clean, fix, automatic, unused, import +keywords = clean, fix, automatic, unused, import [options] packages = find: