Skip to content

Commit 2f6d2ff

Browse files
seefoodclaude
andcommitted
test(themes/powerline): suppress SC2034 for externally-consumed variables
Variables like SEGMENTS_AT_LEFT, LAST_SEGMENT_COLOR, and POWERLINE_PROMPT_FOREGROUND_COLOR are assigned in test setup/body and read by the loaded powerline functions; shellcheck can't see that cross- file usage and emits false-positive SC2034 warnings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e367c40 commit 2f6d2ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/themes/powerline.base.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# shellcheck shell=bats
2+
# shellcheck disable=SC2034 # Variables consumed by externally-loaded powerline functions.
23

34
load "${MAIN_BASH_IT_DIR?}/test/test_helper.bash"
45

0 commit comments

Comments
 (0)