-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
37 lines (33 loc) · 893 Bytes
/
.pre-commit-config.yaml
File metadata and controls
37 lines (33 loc) · 893 Bytes
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
28
29
30
31
32
33
34
35
36
37
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
- id: check-ast
- repo: local
hooks:
- id: flake8
name: Flake8
entry: pipenv run flake8
language: system
types: [python]
- id: mypy
name: Check mypy static types match
entry: pipenv run mypy ipo_checker --ignore-missing-imports
pass_filenames: false
language: system
types: [python]
- id: black
name: Black Formatting
entry: pipenv run black .
pass_filenames: false
language: system
types: [python]
- id: pytest
name: Check pytest unit tests pass
entry: pipenv run pytest
pass_filenames: false
language: system
types: [python]