-
Notifications
You must be signed in to change notification settings - Fork 37
/
.pre-commit-config.yaml
70 lines (70 loc) · 1.94 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.6.0'
hooks:
- id: check-ast
- id: check-case-conflict
- id: check-symlinks
#- id: check-xml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
exclude: setup.cfg
- repo: https://github.com/psf/black
rev: '24.8.0'
hooks:
- id: black
args:
- --safe
- --quiet
files: ^(async_upnp_client|tests)/.+\.py$
- repo: https://github.com/codespell-project/codespell
rev: 'v2.3.0'
hooks:
- id: codespell
args:
- --skip="./.*,*.csv,*.json"
- --quiet-level=2
exclude_types: [csv, json]
files: ^(async_upnp_client|tests)/.+\.py$
- repo: https://github.com/PyCQA/flake8
rev: '7.1.1'
hooks:
- id: flake8
additional_dependencies:
- flake8-docstrings~=1.7.0
- pydocstyle~=6.3.0
files: ^(async_upnp_client|tests)/.+\.py$
- repo: https://github.com/PyCQA/pylint
rev: 'v3.3.1'
hooks:
- id: pylint
additional_dependencies:
- pytest~=8.3.3
- voluptuous~=0.15.2
- aiohttp>3.9.0,<4.0
- python-didl-lite~=1.4.0
- defusedxml~=0.6.0
- pytest-asyncio~=0.24.0
- pytest-aiohttp~=1.0.5
files: ^(async_upnp_client|tests)/.+\.py$
- repo: https://github.com/PyCQA/isort
rev: '5.13.2'
hooks:
- id: isort
args:
- --profile=black
files: ^(async_upnp_client|tests)/.+\.py$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.11.2'
hooks:
- id: mypy
args: [--ignore-missing-imports]
additional_dependencies:
- python-didl-lite~=1.4.0
- pytest~=8.3.3
- aiohttp~=3.10.9
- pytest-asyncio~=0.24.0
- pytest-aiohttp~=1.0.5
files: ^(async_upnp_client|tests)/.+\.py$