mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-04 13:41:36 +00:00
style: use Black everywhere (#2594)
* style: use Black everywhere * style: minor touchup from review
This commit is contained in:
@@ -36,8 +36,7 @@ repos:
|
||||
- id: black
|
||||
# By default, this ignores pyi files, though black supports them
|
||||
types: [text]
|
||||
# Not all Python files are Blacked, yet
|
||||
files: ^(setup.py|pybind11|tests/extra|tools).*\.pyi?$
|
||||
files: \.pyi?$
|
||||
|
||||
# Changes tabs to spaces
|
||||
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
||||
|
||||
Reference in New Issue
Block a user