forked from mcpq/mcpq-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
42 lines (42 loc) · 1.05 KB
/
.pre-commit-config.yaml
File metadata and controls
42 lines (42 loc) · 1.05 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
repos:
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "0.9.2"
hooks:
- id: pyproject-fmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix, lf]
- repo: local
hooks:
- id: run-tests
name: run-tests
entry: pytest --without-integration tests
language: python
additional_dependencies:
[
pre-commit,
pytest,
pytest-integration,
pytest-mock,
pytest-timeout,
grpcio>=1.65.4,
protobuf>=3.20,
]
always_run: true
pass_filenames: false