Skip to content

Commit

Permalink
pre-commit configuration taken from master
Browse files Browse the repository at this point in the history
  • Loading branch information
JaviVilarroig committed May 6, 2020
1 parent 679de45 commit d0e4b12
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# Using the `$SKIP` var is preferable to using `git commit --no-verify`
# because it won't prevent catching other, unrelated issues.

exclude: ^lib/.*$
exclude: ^(lib/|src/test/.*data/).*$
default_language_version:
python: python3
repos:
Expand Down Expand Up @@ -111,3 +111,14 @@ repos:
- commit
- push
- manual
- repo: local
hooks:
- id: line-length
name: line-length
description: Check for lines longer 100 and brakes them before 80.
entry: ./scripts/line_length.py
stages:
- commit
- push
language: python
files: \.(c|cpp|h)$

0 comments on commit d0e4b12

Please sign in to comment.