mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-02 20:51:36 +00:00
style: adding pre-commit check-style.sh
This commit is contained in:
committed by
Henry Schreiner
parent
b16347e51d
commit
8b0ccf7657
@@ -24,5 +24,14 @@ repos:
|
||||
rev: 3.8.2
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies: [flake8-bugbear]
|
||||
additional_dependencies: [flake8-bugbear, pep8-naming]
|
||||
exclude: ^(docs/.*|tools/.*)$
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: check-style
|
||||
name: Classic check-style
|
||||
language: system
|
||||
types:
|
||||
- c++
|
||||
entry: ./tools/check-style.sh
|
||||
|
||||
Reference in New Issue
Block a user