X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=.pre-commit-config.yaml;h=e2513a9137ec63ec05c175b762b977a714621703;hb=9162dd1116e482ccf3d2f833d56ffb133be4be82;hp=baa871ba7c4d9103d8dd1ce8d6492a577144e5c3;hpb=34e0396a49784d0a117087559eab80c258a7bf31;p=transportpce.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index baa871ba7..e2513a913 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,27 +1,29 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.3.0 hooks: - id: trailing-whitespace exclude: '^ordmodels/' # ordmodels trailing blanks shall preferably be fixed in OpenROADM upstream repo - repo: https://github.com/jorisroovers/gitlint - rev: v0.16.0 + rev: v0.18.0 hooks: - id: gitlint stages: [commit-msg] + - id: gitlint-ci + stages: [manual] - 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/)' - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.5.7 + rev: v2.0.0 hooks: - id: autopep8 args: ['--in-place', '--max-line-length=120']