Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint the current dbt project only #53

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

jochemvandooren
Copy link
Contributor

Instead of linting all models that can be found in the manifest, just lint the models from the current project.

Linting models of packages should be done in the dbt projects of the packages itself.

@@ -54,7 +54,7 @@ def cli() -> None:
@click.option(
"--namespace",
"-n",
help="Namespace.",
help="Namespace to look for rules.",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A small 'while there'

Copy link
Contributor

Choose a reason for hiding this comment

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

(Not for this PR, but) I think we can make it clearer or more user-friendly. What about renaming it to --rules-directory and describe it as "The directory that stores your custom rules."

@jochemvandooren jochemvandooren self-assigned this Jun 12, 2024
@jochemvandooren jochemvandooren merged commit 37d6832 into master Jun 17, 2024
3 checks passed
@jochemvandooren jochemvandooren deleted the jvandooren/lint-current-project-only branch June 17, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants