mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-03 05:01:39 +00:00
* Adding ci_sh_def.yml, based on PR #2930. * Adding exludes for .patch files.
This commit is contained in:
committed by
GitHub
parent
7c7c336d6d
commit
d7f98ac9a1
@@ -27,6 +27,7 @@ repos:
|
||||
- id: mixed-line-ending
|
||||
- id: requirements-txt-fixer
|
||||
- id: trailing-whitespace
|
||||
exclude: \.patch?$
|
||||
- id: fix-encoding-pragma
|
||||
|
||||
# Black, the code formatter, natively supports pre-commit
|
||||
@@ -43,6 +44,7 @@ repos:
|
||||
rev: v1.1.9
|
||||
hooks:
|
||||
- id: remove-tabs
|
||||
exclude: (^docs/.*|\.patch)?$
|
||||
|
||||
# Flake8 also supports pre-commit natively (same author)
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
|
||||
Reference in New Issue
Block a user