-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (37 loc) · 1.19 KB
/
.pre-commit-config.yaml
File metadata and controls
38 lines (37 loc) · 1.19 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
ci:
skip: [pip-compile]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.36.0
hooks:
- id: check-github-workflows
- id: check-dependabot
- repo: https://github.com/asottile/blacken-docs
rev: 1.20.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.12.1]
- repo: https://github.com/jazzband/pip-tools
rev: v7.5.2
hooks:
- id: pip-compile
name: pip-compile pyproject.toml
args: [pyproject.toml, --output-file=requirements/install.txt]
files: ^(pyproject\.toml|requirements\/install\.txt)$
- id: pip-compile
name: pip-compile requirements/dev.in
args: [requirements/dev.in, --unsafe-package, requests]
files: ^requirements\/(tests|dev)\.(in|txt)$
- id: pip-compile
name: pip-compile requirements/tests.in
args: [requirements/tests.in, --unsafe-package, requests]
files: ^requirements\/tests\.(in|txt)$
- id: pip-compile
name: pip-compile requirements/install-min.in
args: [requirements/install-min.in]
files: ^requirements\/install-min\.(in|txt)$