-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
57 lines (52 loc) · 1.32 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
57 lines (52 loc) · 1.32 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: "trailing-whitespace"
- id: "check-case-conflict"
- id: "check-merge-conflict"
- id: "end-of-file-fixer"
- id: "check-toml"
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
name: black
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
name: flake8
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
hooks:
- id: mypy
name: mypy
- repo: https://github.com/python-poetry/poetry
rev: 1.2.2
hooks:
- id: poetry-lock
name: poetry-lock
files: pyproject.toml
- id: poetry-export
name: poetry-export requirements
files: pyproject.toml
args: [
"--without-hashes",
"-f", "requirements.txt",
"-o", "requirements/requirements.txt"
]
- id: poetry-export
name: poetry-export requirements-dev
files: pyproject.toml
args: [
"--without-hashes",
"--with", "dev",
"-f", "requirements.txt",
"-o", "requirements/requirements-dev.txt"
]