forked from agermanidis/pigeon
-
Notifications
You must be signed in to change notification settings - Fork 44
/
.pre-commit-config.yaml
43 lines (43 loc) · 1.06 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
37
38
39
40
41
42
43
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: check-json
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: detect-private-key
- id: requirements-txt-fixer
- repo: https://github.com/python-poetry/poetry
rev: '1.3.2'
hooks:
- id: poetry-check
- id: poetry-lock
# - id: poetry-export
# args: ["-f", "requirements.txt", "-o", "requirements.txt"]
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
types: [python]
args:
- --line-length=100
# - repo: local
# hooks:
# - id: pytest-checks
# name: pytest-check
# entry: pytest
# language: system
# pass_filenames: false
# always_run: true
- repo: local
hooks:
- id: pydocstyle-checks
name: pydocstyle-checks
entry: pydocstyle
language: system
pass_filenames: false
always_run: true