Skip to content

add nomissingaudits rule#3967

Merged
sungchun12 merged 5 commits intomainfrom
sung/add-lint-rule
Mar 11, 2025
Merged

add nomissingaudits rule#3967
sungchun12 merged 5 commits intomainfrom
sung/add-lint-rule

Conversation

@sungchun12
Copy link
Contributor

I added a linting rule for a quick win like making sure audits are configured. This will serve as an example PR for others to contribute built-in rules that the community deems worthy for the masses.

@sungchun12 sungchun12 requested review from VaggelisD and treysp March 10, 2025 22:51
```

SQLMesh will raise an error if the same rule is included in more than one of the `rules`, `warning_rules`, and `ignored_rules` keys since they should be mutually exclusive. No newline at end of file
SQLMesh will raise an error if the same rule is included in more than one of the `rules`, `warn_rules`, and `ignored_rules` keys since they should be mutually exclusive. No newline at end of file
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed this. warning_rules doesn't exist

@@ -1,5 +1,7 @@
# Linter guide

![Linter](linter_example.png)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get people excited to see this image in their own terminal

Copy link
Contributor

@treysp treysp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvements - thank you!

def model3_entrypoint(evaluator: MacroEvaluator) -> str:
return "select * from model1"

# breakpoint()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A stray found its way in!

@sungchun12 sungchun12 merged commit 3cd5dc2 into main Mar 11, 2025
22 checks passed
@sungchun12 sungchun12 deleted the sung/add-lint-rule branch March 11, 2025 16:28
afzaljasani pushed a commit that referenced this pull request Apr 8, 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.

2 participants