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.4,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.5.1,virtualenv==20.25.2,wheel==0.43.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/policy/values.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/policy/values.yaml b/kubernetes/policy/values.yaml index 789d986c9..e621de710 100755 --- a/kubernetes/policy/values.yaml +++ b/kubernetes/policy/values.yaml @@ -233,7 +233,7 @@ mariadb-galera: externalSecret: *dbRootPassSecretName nameOverride: *policy-mariadb # mariadb-galera.service and global.mariadbGalera.service must be equals - service: + service: name: *mariadbService replicaCount: 1 mariadbOperator: pre-commit: exit 1 (11.81 seconds) /w/workspace/oom-master-pre-commit-lint> pre-commit run --all-files --show-diff-on-failure pid=2228 pre-commit: FAIL code 1 (15.77=setup[3.96]+cmd[11.81] seconds) evaluation failed :( (15.95 seconds)