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.3,identify==2.5.35,nodeenv==1.8.0,pip==24.0,platformdirs==4.2.0,pre-commit==3.7.0,PyYAML==6.0.1,setuptools==69.1.0,virtualenv==20.25.1,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/common/templates/_cassOp.tpl 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/common/templates/_cassOp.tpl b/kubernetes/common/common/templates/_cassOp.tpl index f7b10a7d2..b0cf8e331 100644 --- a/kubernetes/common/common/templates/_cassOp.tpl +++ b/kubernetes/common/common/templates/_cassOp.tpl @@ -43,7 +43,7 @@ spec: enabled: false cassandra: endpoint: - address: 0.0.0.0 + address: 0.0.0.0 {{- end }} {{- end }} {{ if .Values.k8ssandraOperator.stargate.enabled -}} @@ -92,7 +92,7 @@ spec: enabled: false cassandra: endpoint: - address: 0.0.0.0 + address: 0.0.0.0 {{- end }} config: {{ if .Values.k8ssandraOperator.config.casOptions -}} pre-commit: exit 1 (12.24 seconds) /w/workspace/oom-master-pre-commit-lint> pre-commit run --all-files --show-diff-on-failure pid=2248 pre-commit: FAIL code 1 (16.58=setup[4.34]+cmd[12.24] seconds) evaluation failed :( (16.76 seconds)