Skip to content

Commit

Permalink
chore: quiet pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
markosamuli committed Jan 18, 2020
1 parent c7028be commit 91f7ad1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -79,6 +79,7 @@ repos:
hooks:
- id: bashate
args: ["-i", "E006"]
verbose: false

- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.19.0
Expand All @@ -91,6 +92,7 @@ repos:
- id: commitlint
stages: [commit-msg]
additional_dependencies: ["@commitlint/config-conventional"]
verbose: false

- repo: local
hooks:
Expand Down
14 changes: 7 additions & 7 deletions Makefile
Expand Up @@ -89,19 +89,19 @@ endif
ifndef SHFMT
$(error "shfmt not found, try: 'brew install shfmt'")
endif
@pre-commit run -a -v
@pre-commit run -a

.PHONY: python-lint
python-lint: setup-pre-commit ## lint and format Python files
@pre-commit run -a check-ast -v
@pre-commit run -a requirements-txt-fixer -v
@pre-commit run -a yapf -v
@pre-commit run -a flake8 -v
@pre-commit run -a pylint -v
@pre-commit run -a check-ast
@pre-commit run -a requirements-txt-fixer
@pre-commit run -a yapf
@pre-commit run -a flake8
@pre-commit run -a pylint

.PHONY: travis-lint
travis-lint: setup-pre-commit ## lint .travis.yml file
@pre-commit run -a travis-lint -v
@pre-commit run -a travis-lint

.PHONY: setup-ansible
install-ansible: ## install Ansible without roles or running playbooks
Expand Down

0 comments on commit 91f7ad1

Please sign in to comment.