From 5876cd5a7272e96c29254afbd46c6fe3f69c0509 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 14 Sep 2021 06:38:11 +0200 Subject: [PATCH 1/2] pre-commit: Add codespell to look for typos --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 64b489838c4..f3dfdd6a538 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,6 +33,10 @@ repos: hooks: - id: markdownlint args: ["-r", "~MD002,~MD013,~MD024,~MD029,~MD033,~MD034,~MD036", "-t", "allow_different_nesting"] + - repo: https://github.com/codespell-project/codespell + rev: v2.1.0 + hooks: + - id: codespell - repo: https://github.com/myint/docformatter rev: v1.3.1 hooks: From 9510e02410a5a65ab4825223a7353bcee291cc55 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 27 Sep 2021 18:37:20 +0200 Subject: [PATCH 2/2] fixup! Indentation --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f3dfdd6a538..d7999f010ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,9 +34,9 @@ repos: - id: markdownlint args: ["-r", "~MD002,~MD013,~MD024,~MD029,~MD033,~MD034,~MD036", "-t", "allow_different_nesting"] - repo: https://github.com/codespell-project/codespell - rev: v2.1.0 - hooks: - - id: codespell + rev: v2.1.0 + hooks: + - id: codespell - repo: https://github.com/myint/docformatter rev: v1.3.1 hooks: