-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
42 lines (40 loc) · 1.17 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: "^www/__tests__/index/.*$"
- id: check-yaml
- id: check-added-large-files
- id: check-toml
- repo: local
hooks:
- id: generate-test-fixtures
name: Generate test fixtures
language: python
types_or: [python, json]
entry: "python -m py_wtf generate-test-index www/__tests__/index"
pass_filenames: false
require_serial: true
additional_dependencies:
- aiofiles==0.8.0
- appdirs==1.4.4
- cattrs==22.1.0
- click>=8.1.3
- httpx==0.23.0
- keke>=0.1.0
- libcst>=1.1.0
- networkx>=3.3
- packaging>=21
- pytest
- rich>=12.5.1
- rst-to-myst[sphinx]==0.4.0
- stamina>=24.2.0
- trailrunner>=1.2.1
- types-aiofiles==0.8.0
- types-appdirs==1.4.3
default_language_version:
python: python3.12