-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
38 lines (38 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
37
38
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: check-toml
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
hooks:
- id: mypy
additional_dependencies:
- "types-Flask-Cors~=3.0"
- "types-Flask-SQLAlchemy~=2.5"
- "types-mock~=5.0"
- "types-PyYAML~=6.0"
- "types-requests~=2.28"
- "types-setuptools~=63.4"
- "types-smorest~=1.1"
- "types-SQLAlchemy~=1.4"
- "types-sqlalchemy-utils~=1.0"
- "types-urllib3<1.27"
- repo: https://github.com/rstcheck/rstcheck
rev: v6.2.0
hooks:
- id: rstcheck
additional_dependencies: [sphinx]
exclude: "docs/authors.rst|docs/changelog.rst|docs/license.rst"