forked from flatironinstitute/figpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
52 lines (51 loc) · 2.05 KB
/
.pre-commit-config.yaml
File metadata and controls
52 lines (51 loc) · 2.05 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
repos:
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
args: [--line-length=88]
language_version: python3
- repo: local
hooks:
- id: npm-format
name: Format JavaScript/TypeScript files
entry: bash -c 'cd figpack-figure && npm run format'
language: system
pass_filenames: false
- id: npm-format-figpack-manage
name: Format figpack_manage package files
entry: bash -c 'cd figpack-manage && npm run format'
language: system
- id: npm-format-figpack-serve
name: Format figpack_serve package files
entry: bash -c 'cd figpack-serve && npm run format'
language: system
- id: npm-format-figpack-nwb
name: Format figpack_nwb package files
entry: bash -c 'cd extension_packages/figpack_nwb && npm run format'
language: system
- id: npm-format-figpack-api-cf
name: Format figpack_api_cf package files
entry: bash -c 'cd figpack-api-cf && npm run format'
language: system
- id: npm-format-figpack-experimental
name: Format figpack_experimental package files
entry: bash -c 'cd extension_packages/figpack_experimental && npm run format'
language: system
- id: npm-format-figpack-franklab
name: Format figpack_franklab package files
entry: bash -c 'cd extension_packages/figpack_franklab && npm run format'
language: system
- id: npm-format-figpack-spike-sorting
name: Format figpack_spike_sorting package files
entry: bash -c 'cd extension_packages/figpack_spike_sorting && npm run format'
language: system
- id: npm-format-figpack-slides
name: Format figpack_slides package files
entry: bash -c 'cd extension_packages/figpack_slides && npm run format'
language: system
- id: check-figpack-interfaces
name: Check figpack-interface.ts files are identical
entry: scripts/check-figpack-interfaces.js
language: node
pass_filenames: false