Adding codespell to .pre-commit-config.yaml (follow-on to PR #3075). (#3076)

This commit is contained in:
Ralf W. Grosse-Kunstleve 2021-07-06 14:10:35 -07:00 committed by GitHub
parent 8bee61b645
commit 0ad116d371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,17 @@ repos:
stages: [manual]
additional_dependencies: [cmake, ninja]
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
name: codespell
description: Checks for common misspellings in text files.
entry: codespell
language: python
types: [text]
args: ["-q", "3", "--skip", "*.supp", "-L", "nd,ot,thist,readded"]
# The original pybind11 checks for a few C++ style items
- repo: local
hooks: