style: pre-commit cleanup (#3111)

* style: disallow PyTest (should be pytest)

* style: cleanup spell checking a bit

* style: add a few items to the .gitignore
This commit is contained in:
Henry Schreiner
2021-07-14 16:49:13 -04:00
committed by GitHub
parent 7331d381af
commit cd061aeef1
4 changed files with 7 additions and 9 deletions

View File

@@ -92,12 +92,8 @@ repos:
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"]
exclude: ".supp$"
args: ["-L", "nd,ot,thist"]
# The original pybind11 checks for a few C++ style items
- repo: local
@@ -105,7 +101,7 @@ repos:
- id: disallow-caps
name: Disallow improper capitalization
language: pygrep
entry: PyBind|Numpy|Cmake|CCache
entry: PyBind|Numpy|Cmake|CCache|PyTest
exclude: .pre-commit-config.yaml
- repo: local