-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.pre-commit-config.yaml
92 lines (92 loc) · 2.4 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-yaml
- id: check-json
- id: end-of-file-fixer
exclude_types:
- json
- id: trailing-whitespace
- id: no-commit-to-branch
- id: debug-statements
- id: requirements-txt-fixer
- id: check-executables-have-shebangs
- id: detect-private-key
- repo: local
hooks:
- id: update-type-stubs
name: Check for Type Stubs and Update Config
entry: ./update_precommit.py
language: system
files: ^requirements.*\.txt$
stages:
- pre-commit
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args:
- --profile
- black
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.12.1
hooks:
- id: mypy
entry: mypy OTAnalytics tests --config-file=pyproject.toml
additional_dependencies:
- av==13.0.0
- black==24.8.0
- customtkinter==5.2.2
- fastapi==0.115.5
- hatch-requirements-txt==0.4.1
- ijson==3.3.0
- interrogate==1.7.0
- isort==5.13.2
- matplotlib==3.9.0
- more-itertools==10.5.0
- mypy==1.12.1
- nicegui==2.11.0
- numpy==1.26.4
- pandas-stubs==2.2.3.241126
- pandas==2.2.3
- pre-commit==4.1.0
- pygeos==0.14
- pytest-benchmark==5.1.0
- pytest-cov==6.0.0
- pytest-lazy-fixtures==1.1.2
- pytest==8.3.4
- starlette==0.41.2
- twine==6.1.0
- types-PyYAML
- types-flake8
- types-openpyxl
- types-pillow
- types-requests
- types-seaborn
- types-shapely
- types-tqdm
- types-ujson
- uvicorn==0.32.1
- yamllint==1.35.1
always_run: true
pass_filenames: false
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
args:
- -c=./.yamllint.yaml
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck