ci(pre-commit): add to formula [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/259
This commit is contained in:
Dafydd Jones
2020-10-03 10:54:08 +01:00
committed by Imran Iqbal
parent 5f5b710d98
commit f76d8ba57d
4 changed files with 88 additions and 0 deletions
+14
View File
@@ -55,6 +55,20 @@ jobs:
@commitlint/travis-cli
- commitlint-travis
# Run `pre-commit` linters in a single job
- language: 'python'
env: 'Lint_pre-commit'
name: 'Lint: pre-commit'
before_install: 'skip'
cache:
directories:
- $HOME/.cache/pre-commit
script:
# Install and run `pre-commit`
- pip install pre-commit==2.7.1
- pre-commit run --all-files --color always --verbose
- pre-commit run --color always --hook-stage manual --verbose commitlint-travis
## Define the rest of the matrix based on Kitchen testing
# Make sure the instances listed below match up with
# the `platforms` defined in `kitchen.yml`