pre-commit: install_deps> python -I -m pip install pre-commit pre-commit: freeze> python -m pip freeze --all pre-commit: cfgv==3.4.0,distlib==0.3.8,filelock==3.13.1,identify==2.5.33,nodeenv==1.8.0,pip==23.3.1,platformdirs==4.1.0,pre-commit==3.6.0,PyYAML==6.0.1,setuptools==69.0.2,virtualenv==20.25.0,wheel==0.42.0 pre-commit: commands[0]> pre-commit run --all-files --show-diff-on-failure [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint. [INFO] Initializing environment for https://github.com/jorisroovers/gitlint:./gitlint-core[trusted-deps]. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Trim Trailing Whitespace.................................................Failed - hook id: trailing-whitespace - exit code: 1 - files were modified by this hook Fixing kubernetes/common/mongo/templates/mongodb.yaml Tabs remover.............................................................Passed pre-commit hook(s) made changes. If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`. To run `pre-commit` as part of git workflow, use `pre-commit install`. All changes made by hooks: diff --git a/kubernetes/common/mongo/templates/mongodb.yaml b/kubernetes/common/mongo/templates/mongodb.yaml index 6daa7d345..16be3d6b7 100644 --- a/kubernetes/common/mongo/templates/mongodb.yaml +++ b/kubernetes/common/mongo/templates/mongodb.yaml @@ -1,6 +1,6 @@ {{/* # Copyright © 2023 Deutsche Telekom AG -# Copyright © 2023 Tech Mahindra +# Copyright © 2023 Tech Mahindra # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. pre-commit: exit 1 (11.79 seconds) /w/workspace/oom-master-pre-commit-lint> pre-commit run --all-files --show-diff-on-failure pid=2253 pre-commit: FAIL code 1 (16.01=setup[4.22]+cmd[11.79] seconds) evaluation failed :( (16.17 seconds)