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

Typo in docs for how to use --exclude #185

Open
lindsay-secoda opened this issue Feb 2, 2024 · 0 comments
Open

Typo in docs for how to use --exclude #185

lindsay-secoda opened this issue Feb 2, 2024 · 0 comments

Comments

@lindsay-secoda
Copy link

lindsay-secoda commented Feb 2, 2024

The docs say this:
Hooks that use --exclude in their args, should receive it this way:

- id: check-model-has-tests
  description: "Ensures that the model has a number of tests"
  args: ["--test-cnt", "1", "--exclude models/demo", "--"]

This doesn't work for hooks like check-model-has-all-columns. But this does:

 - id: check-model-has-all-columns # Ensures that mart models have all columns in the database also specified in the .yml
      args: [--exclude, "models/marts", "--"]
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

No branches or pull requests

1 participant