-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
38 lines (37 loc) · 1.19 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
ci:
autoupdate_schedule: monthly
skip: [pip-compile]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
hooks:
- id: check-github-workflows
- repo: https://github.com/asottile/blacken-docs
rev: 1.19.1
hooks:
- id: blacken-docs
additional_dependencies: [black==23.12.1]
- repo: https://github.com/jazzband/pip-tools
rev: 7.4.1
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: [--unsafe-package, psycopg, requirements/dev.in]
files: ^requirements\/(tests|dev)\.(in|txt)$
- id: pip-compile
name: pip-compile requirements/tests.in
args: [--unsafe-package, psycopg, requirements/tests.in]
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)$