mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-04 05:31:38 +00:00
ci: disallow some common capitalization mistakes (#2472)
* ci: only annotate linux for now * style: block some common mistakes
This commit is contained in:
@@ -34,6 +34,14 @@ repos:
|
||||
types: [file]
|
||||
files: (\.cmake|CMakeLists.txt)(.in)?$
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: disallow-caps
|
||||
name: Disallow improper capitalization
|
||||
language: pygrep
|
||||
entry: PyBind|Numpy|Cmake
|
||||
exclude: .pre-commit-config.yaml
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: check-style
|
||||
|
||||
Reference in New Issue
Block a user