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.7,filelock==3.13.1,identify==2.5.32,nodeenv==1.8.0,pip==23.3.1,platformdirs==4.1.0,pre-commit==3.5.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/portal-ng/components/portal-ng-ui/resources/tiles/tiles.json 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/portal-ng/components/portal-ng-ui/resources/tiles/tiles.json b/kubernetes/portal-ng/components/portal-ng-ui/resources/tiles/tiles.json index 8613753ba..a69855d63 100644 --- a/kubernetes/portal-ng/components/portal-ng-ui/resources/tiles/tiles.json +++ b/kubernetes/portal-ng/components/portal-ng-ui/resources/tiles/tiles.json @@ -8,7 +8,7 @@ "tooltipEN": "SDC is the ONAP visual modeling and design tool. It creates internal metadata that describes assets used by all ONAP components, both at design time and run time.", "imageUrl": "sdc.svg", "imageAltText": "SDC image", - "redirectUrl": "https://{{ include "ingress.config.host" (dict "dot" . "baseaddr" .Values.tiles.SDC_URL) }}/sdc1/", + "redirectUrl": "https://{{ include "ingress.config.host" (dict "dot" . "baseaddr" .Values.tiles.SDC_URL) }}/sdc1/", "groups": [], "roles": [ "PORTAL_ADMIN", pre-commit: exit 1 (14.87 seconds) /w/workspace/oom-master-pre-commit-lint> pre-commit run --all-files --show-diff-on-failure pid=2281 pre-commit: FAIL code 1 (19.89=setup[5.01]+cmd[14.87] seconds) evaluation failed :( (20.06 seconds)