Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Refactor SH ServiceDataUtils tests"
[transportpce.git]
/
.pre-commit-config.yaml
diff --git
a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
index 1363f0bc2843c8e14c999e720416344ba5509170..954379b1e9bce0d377613103bf09127883a63636 100644
(file)
--- a/
.pre-commit-config.yaml
+++ b/
.pre-commit-config.yaml
@@
-1,21
+1,30
@@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.
0.1
+ rev: v4.
3.0
hooks:
- id: trailing-whitespace
hooks:
- id: trailing-whitespace
- exclude: '^ordmodels/'
+ exclude: '^ordmodels/
|.diff$
'
# ordmodels trailing blanks shall preferably be fixed in OpenROADM upstream repo
- repo: https://github.com/jorisroovers/gitlint
# ordmodels trailing blanks shall preferably be fixed in OpenROADM upstream repo
- repo: https://github.com/jorisroovers/gitlint
- rev: v0.1
5.1
+ rev: v0.1
8.0
hooks:
- id: gitlint
stages: [commit-msg]
hooks:
- id: gitlint
stages: [commit-msg]
+ - id: gitlint-ci
+ stages: [manual]
- repo: https://github.com/Lucas-C/pre-commit-hooks
- repo: https://github.com/Lucas-C/pre-commit-hooks
- rev: v1.
1.10
+ rev: v1.
3.1
hooks:
- id: remove-tabs
stages: [commit]
exclude: '^(.git/|docs/make.bat|docs/Makefile|ordmodels/)'
hooks:
- id: remove-tabs
stages: [commit]
exclude: '^(.git/|docs/make.bat|docs/Makefile|ordmodels/)'
+
+ - repo: https://github.com/pre-commit/mirrors-autopep8
+ rev: v2.0.0
+ hooks:
+ - id: autopep8
+ args: ['--in-place', '--max-line-length=120']
+