mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-03 13:11:39 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user