minitor/.pre-commit-config.yaml
Ian Fijolek 8169b4257a
All checks were successful
continuous-integration/drone/push Build is passing
Fix drone and travis builds
* Correct env variable name in minitor_test
* Adding more test environments, skipping python 3.5
because lack of assert_called_once support
* Using default travis python environments
2019-06-03 10:56:42 -07:00

27 lines
733 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
args:
- -i
- --ignore=E265,E309,E501
- id: debug-statements
language_version: python3
- id: flake8
language_version: python3
- id: check-yaml
args:
- --allow-multiple-documents
- id: check-merge-conflict
- id: name-tests-test
exclude: tests/(common.py|util.py|(helpers|integration/factories)/(.+).py)
- repo: https://github.com/asottile/reorder_python_imports
sha: v1.0.1
hooks:
- id: reorder-python-imports
args:
- --py3-plus