Skip to content

Conversation

mcasara
Copy link

@mcasara mcasara commented Oct 22, 2024

resolves #959

Problem

The comment contains trailing whitespaces. The macro statements also generate trailing whitespaces, which fails sqlfluff's linting of the compiled file.

Solution

Remove the trailing whitespaces and use {%- ... -%} instead of {% ... %} in the macro statements.

Checklist

  • This code is associated with an issue which has been triaged and accepted for development.
  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the README.md (if applicable)

Copy link

This PR has been marked as Stale because it has been open with no activity as of late. If you would like the PR to remain open, please comment on the PR or else it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 27, 2025
@mcasara
Copy link
Author

mcasara commented Apr 28, 2025

comment

@github-actions github-actions bot removed the Stale label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dbt_utils.star: Remove trailing whitespace in the comment when no column is returned
1 participant