You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
362 B
17 lines
362 B
---
|
|
dist: xenial
|
|
language: python
|
|
python: 3.7
|
|
# pre-commit hooks can use Docker, so we should go ahead and enable it
|
|
services: docker
|
|
|
|
# Cache pip packages and pre-commit plugins to speed up builds
|
|
cache:
|
|
pip: true
|
|
directories:
|
|
- $HOME/.cache/pre-commit
|
|
|
|
install:
|
|
- pip install --upgrade -r requirements-test.txt
|
|
script:
|
|
- pre-commit run --all-files
|
|
|