-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
42 lines (39 loc) · 929 Bytes
/
.pre-commit-config.yaml
File metadata and controls
42 lines (39 loc) · 929 Bytes
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
default_language_version:
python: python3.7
fail_fast: true
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
hooks:
- id: ruff
types: [python]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
hooks:
- id: mypy
types: [python]
args: [--strict]
exclude: ^(docs|examples/requests_client_py310.py)
additional_dependencies:
- aiohttp<3.8
- pytest
- pyzmq
- requests<3
- types-requests<3
- types-setuptools
- websockets
- repo: https://github.com/ambv/black
rev: 22.8.0
hooks:
- id: black
types: [python]
exclude: ^docs
args: [--check]
- repo: local
hooks:
- id: isort
name: isort
entry: isort
language: system
args: [--check,--profile=black]
types: [python]