-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
28 lines (28 loc) · 1.29 KB
/
.pre-commit-hooks.yaml
File metadata and controls
28 lines (28 loc) · 1.29 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
- id: repo-structure-full
name: Enforce Repository Structure
entry: repo_structure full-scan --repo-root .
description: Ensuring the repository structure contains all entries, including `required`, from the configuration
language: python
pass_filenames: false
args: ["--config-path", "repo_structure.yaml"]
stages: [manual]
- id: repo-structure-full-debug
name: Enforce Repository Structure
entry: repo_structure --verbose full-scan --repo-root .
description: Ensuring the repository structure contains all entries, including `required`, from the configuration - with debug tracing
language: python
pass_filenames: false
args: ["--config-path", "repo_structure.yaml"]
stages: [manual]
- id: repo-structure-diff
name: Enforce Repository Structure
entry: repo_structure diff-scan
description: Ensuring the repository structure does not contain files that are not listed in the configuration file
language: python
args: ["--config-path", "repo_structure.yaml"]
- id: repo-structure-diff-debug
name: Enforce Repository Structure
entry: repo_structure --verbose diff-scan
description: Ensuring the repository structure does not contain files that are not listed in the configuration file - with debug tracing
language: python
args: ["--config-path", "repo_structure.yaml"]