forked from pnxenopoulos/awpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
55 lines (55 loc) · 1.44 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
exclude: docs/
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: v4.4.0
hooks:
- id: check-yaml
language: python
- id: check-json
language: python
- id: end-of-file-fixer
language: python
- id: trailing-whitespace
language: python
- id: check-docstring-first
language: python
- id: requirements-txt-fixer
language: python
- id: check-merge-conflict
language: python
- id: check-toml
language: python
- id: check-xml
language: python
- id: check-ast
language: python
- id: check-builtin-literals
language: python
- repo: 'https://github.com/charliermarsh/ruff-pre-commit'
rev: v0.0.267
hooks:
- id: ruff
args:
- '--fix'
- '--exit-non-zero-on-fix'
- repo: 'https://github.com/psf/black'
rev: 23.3.0
hooks:
- id: black
language: python
# - repo: 'https://github.com/RobertCraigie/pyright-python'
# rev: v1.1.305
# hooks:
# - id: pyright
# additional_dependencies:
# - imageio>=2.9.0
# - matplotlib>=3.1.2
# - networkx>=2.6.3
# - numpy>=1.18.1
# - pandas>=0.25.3
# - scipy>=1.7.3
# - Shapely>=1.8.2
# - sympy>=1.10.1
# - textdistance>=4.2.0
# - tqdm>=4.55.2
# - pandas-stubs==2.0.0.230412