Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adapt TransportPCE code to Sulfur
[transportpce.git]
/
.pre-commit-config.yaml
diff --git
a/.pre-commit-config.yaml
b/.pre-commit-config.yaml
index 1363f0bc2843c8e14c999e720416344ba5509170..baa871ba7c4d9103d8dd1ce8d6492a577144e5c3 100644
(file)
--- a/
.pre-commit-config.yaml
+++ b/
.pre-commit-config.yaml
@@
-8,7
+8,7
@@
repos:
# 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
6.0
hooks:
- id: gitlint
stages: [commit-msg]
hooks:
- id: gitlint
stages: [commit-msg]
@@
-19,3
+19,10
@@
repos:
- id: remove-tabs
stages: [commit]
exclude: '^(.git/|docs/make.bat|docs/Makefile|ordmodels/)'
- id: remove-tabs
stages: [commit]
exclude: '^(.git/|docs/make.bat|docs/Makefile|ordmodels/)'
+
+ - repo: https://github.com/pre-commit/mirrors-autopep8
+ rev: v1.5.7
+ hooks:
+ - id: autopep8
+ args: ['--in-place', '--max-line-length=120']
+