-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
36 lines (35 loc) · 1.07 KB
/
.pre-commit-config.yaml
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
stages: [commit]
- id: end-of-file-fixer
stages: [commit]
- id: check-yaml
stages: [commit]
- id: check-added-large-files
stages: [commit]
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
language_version: python3.7
stages: [commit]
- repo: local
hooks:
- id: system
name: PyLint
entry: poetry run pylint
language: system
files: \.py$
stages: [commit]
- id: system
name: PyTest
entry: poetry run pytest --doctest-modules -v --cov=feature_change --cov-report term-missing:skip-covered
language: system
pass_filenames: false
stages: [push]
verbose: true