Skip to content

Commit 27fea39

Browse files
committed
fix: linting errors after super-linter upgrade
- [x] group commands instead of instead of individual redirects - [x] double quote variable to prevent globbing and word splitting - [x] disable too-many-positional-arguments pylint linting Signed-off-by: jmeridth <[email protected]>
1 parent 7b454f7 commit 27fea39

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/linters/.python-lint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ disable=bad-inline-option,
435435
too-many-function-args,
436436
too-many-branches,
437437
too-many-locals,
438+
too-many-positional-arguments,
438439
too-many-statements,
439440
useless-suppression,
440441
use-symbolic-message-instead,

.github/workflows/major-version-updater.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ jobs:
2323
tag=${GITHUB_REF/refs\/tags\//}
2424
version=${tag#v}
2525
major=${version%%.*}
26-
echo "tag=${tag}" >> "$GITHUB_OUTPUT"
27-
echo "version=${version}" >> "$GITHUB_OUTPUT"
28-
echo "major=${major}" >> "$GITHUB_OUTPUT"
26+
{ echo "tag=${tag}"; echo "version=${version}"; echo "major=${major}"; } >> "$GITHUB_OUTPUT"
2927
3028
- name: force update major tag
3129
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
id: get_tag_name
4343
run: |
4444
short_tag=$(echo ${{ steps.release-drafter.outputs.tag_name }} | cut -d. -f1)
45-
echo "SHORT_TAG=$short_tag" >> $GITHUB_OUTPUT
45+
echo "SHORT_TAG=$short_tag" >> "$GITHUB_OUTPUT"
4646
create_action_images:
4747
needs: create_release
4848
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)