Skip to content

Commit e23edb7

Browse files
committed
Changed regex for types and added new dummy files
1 parent 3fd1343 commit e23edb7

File tree

3 files changed

+1391
-3
lines changed

3 files changed

+1391
-3
lines changed

Diff for: .pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ repos:
2020
additional_dependencies:
2121
- tomli
2222
- repo: https://github.com/pre-commit/mirrors-clang-format
23-
rev: 'v15.0.7'
23+
rev: v15.0.7
2424
hooks:
2525
- id: clang-format
26-
files: \.((((c|C)(c|pp|xx|\+\+)?$)|((h|H)h?(pp|xx|\+\+)?$))|(ino))$
26+
types_or: [c, c++]
2727
- repo: https://github.com/psf/black-pre-commit-mirror
2828
rev: 22.10.0
2929
hooks:
@@ -34,7 +34,7 @@ repos:
3434
rev: 7.0.0
3535
hooks:
3636
- id: flake8
37-
files: \.(((py)(w|o)?$))$
37+
types_or: [python]
3838
additional_dependencies:
3939
- flake8-bugbear
4040
- flake8-comprehensions

0 commit comments

Comments
 (0)