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

Check model name contract hook problem with version #77

Open
papost opened this issue Aug 4, 2022 · 2 comments
Open

Check model name contract hook problem with version #77

papost opened this issue Aug 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working priority: low

Comments

@papost
Copy link

papost commented Aug 4, 2022

When using the following pre commit config file

repos:
- repo: https://github.com/offbi/pre-commit-dbt
  rev: v1.0.0
  hooks:
  - id: check-model-name-contract
    args: [--pattern, "(rep__).*"]
    files: models/reporting

I get the following response
[ERROR] check-model-name-contract is not present in repository https://github.com/offbi/pre-commit-dbt. Typo? Perhaps it is introduced in a newer version? Often pre-commit autoupdate fixes this.

Even if I run the autoupdate command the error message is the same. Am I missing something?

@papost papost added the bug Something isn't working label Aug 4, 2022
@huptonbirdsall
Copy link

huptonbirdsall commented Aug 10, 2022

I had the same issue, running pre-commit autoupdate --bleeding-edge resolved it for me, the v1.0.0 tag is out of date.

@john-jerome
Copy link

Using this rev instead of v1.0.0 solves the reported issue:

#42 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: low
Projects
None yet
Development

No branches or pull requests

5 participants