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

Support for pre-commit hook verbose option #83

Open
ansiblejunky opened this issue Sep 13, 2019 · 0 comments
Open

Support for pre-commit hook verbose option #83

ansiblejunky opened this issue Sep 13, 2019 · 0 comments

Comments

@ansiblejunky
Copy link

Currently when we use the pre-commit hook with ansible-review and set the verbose option on the hook definition in the .pre-commit-config.yaml file the ansible-review tool does not react to this option at all - the output of the tool is the same.

I would imagine with verbose: true, ansible-review will produce the WARN and ERROR messages. With verbose: false, ansible-review will only show the ERROR messages.

---

repos:
  - repo: https://github.com/willthames/ansible-review
    rev: v0.14.0rc2
    hooks:
      - id: ansible-review
        name: ansible-review
        entry: ansible-review -c .ansible-review
        verbose: true
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