Skip to content

Commit 298a0e0

Browse files
committed
Refactor SQLFluff command execution in CI workflow
- Adjusted indentation for the SQLFluff command in the CI configuration to improve readability. - Ensured consistent formatting for subprocess calls in the workflow script.
1 parent c31876f commit 298a0e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ jobs:
169169
# Run from the examples directory to ensure proper config loading
170170
# Use relative path from examples directory
171171
relative_path = sql_file.relative_to(Path("examples"))
172-
result = subprocess.run([
173-
'sqlfluff', 'render', str(relative_path), '--dialect', 'snowflake', '--config', '.sqlfluff'
174-
], capture_output=True, text=True, timeout=30, cwd='examples')
172+
result = subprocess.run([
173+
'sqlfluff', 'render', str(relative_path), '--dialect', 'snowflake', '--config', '.sqlfluff'
174+
], capture_output=True, text=True, timeout=30, cwd='examples')
175175
sqlfluff_success = result.returncode == 0
176176
print(f" SQLFluff: {'PASS' if sqlfluff_success else 'FAIL'}")
177177
if not sqlfluff_success:

0 commit comments

Comments
 (0)