blob: e38b37f36f4dfd7431a193475d7e859f15f44978 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
repos:
- repo: https://github.com/ambv/black
rev: 18.9b0
hooks:
- id: black
args: [--line-length=120]
- repo: git://github.com/doublify/pre-commit-isort
rev: v4.3.0
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: flake8
additional_dependencies: [flake8~=3.6.0]
- repo: git://github.com/skorokithakis/pre-commit-mypy
rev: v0.610
hooks:
- id: mypy
args: [-s]
- repo: local
hooks:
- id: tests
language: system
name: Run pytest.
files: ".*\\.py$"
entry: bash -c "pytest"
|