Skip to content

Commit 9800bf3

Browse files
Fix linting issues
1 parent ec05637 commit 9800bf3

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed

.editorconfig-checker.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"Verbose": false,
3+
"Debug": false,
4+
"IgnoreDefaults": false,
5+
"SpacesAfterTabs": false,
6+
"NoColor": false,
7+
"Exclude": [],
8+
"AllowedContentTypes": [],
9+
"PassedFiles": [],
10+
"Disable": {
11+
"EndOfLine": false,
12+
"Indentation": false,
13+
"IndentSize": false,
14+
"InsertFinalNewline": false,
15+
"TrimTrailingWhitespace": false,
16+
"MaxLineLength": false
17+
}
18+
}

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
LINTER_RULES_PATH: /
46-
EDITORCONFIG_FILE_NAME: .editorconfig
46+
EDITORCONFIG_FILE_NAME: .editorconfig-checker.json
4747
FILTER_REGEX_EXCLUDE: "requirements/.*"
4848
VALIDATE_SHELL_SHFMT: false
4949
check-tox:

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
"docker.io/library/ubuntu:22.04",
3232
"docker.io/library/rockylinux:9",
3333
]
34-
os_release: ["2023.2", "2024.1", "2024.2",]
34+
os_release: ["2023.2", "2024.1", "2024.2"]
3535
include:
3636
- image: "docker.io/library/debian:11"
3737
os_release: "2023.2"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ lint:
1515
-e RUN_LOCAL=true \
1616
-e LINTER_RULES_PATH=/ \
1717
-e FILTER_REGEX_EXCLUDE="requirements/.*" \
18-
-e EDITORCONFIG_FILE_NAME=.editorconfig \
18+
-e EDITORCONFIG_FILE_NAME=.editorconfig-checker.json \
1919
-e VALIDATE_SHELL_SHFMT=false \
2020
ghcr.io/super-linter/super-linter
2121
tox -e lint

registry.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ if ! command -v uv; then
2727
fi
2828

2929
if ! command -v kolla-build; then
30-
sudo $(command -v uv) pip install "git+https://github.com/openstack/kolla.git@${OS_KOLLA_VERSION:-stable/2024.2}" --system
31-
sudo $(command -v uv) pip install docker-squash --system
30+
sudo "$(command -v uv)" pip install "git+https://github.com/openstack/kolla.git@${OS_KOLLA_VERSION:-stable/2024.2}" --system
31+
sudo "$(command -v uv)" pip install docker-squash --system
3232
fi
3333

3434
# Start local registry

0 commit comments

Comments
 (0)