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

Decide whether to add pre-commit hooks for linters #1

Open
ltalirz opened this issue Apr 11, 2019 · 0 comments
Open

Decide whether to add pre-commit hooks for linters #1

ltalirz opened this issue Apr 11, 2019 · 0 comments

Comments

@ltalirz
Copy link
Member

ltalirz commented Apr 11, 2019

We could add pre-commit hooks for yamllint and ansible-lint to speed up development (no need to do molecule test for this). See here for an example.

If we do so, however, it would be nice to use the same settings as inside molecule - e.g. one should pass the options defined here

extends: default
rules:
line-length:
max: 150
level: warning

to the pre-commit hook.

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