forked from OCA/maintainer-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-hooks.yaml
48 lines (42 loc) · 1.31 KB
/
.pre-commit-hooks.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
43
44
45
46
47
48
- id: oca-gen-addon-readme
name: Generate addons README files from fragments
always_run: true
entry: oca-gen-addon-readme
language: python
pass_filenames: false
- id: oca-gen-addons-table
name: Generate addons table in README
always_run: true
entry: oca-gen-addons-table
language: python
pass_filenames: false
- id: oca-gen-addon-icon
name: Generate addons icons
always_run: true
entry: oca-gen-addon-icon
language: python
pass_filenames: false
- id: oca-gen-metapackage
name: Generate setup/_metapackage with dependencies on all installable addons in repo
always_run: true
entry: oca-gen-metapackage
language: python
pass_filenames: false
- id: oca-update-pre-commit-excluded-addons
name: Update pre-commit excluded addons
entry: oca-update-pre-commit-excluded-addons
pass_filenames: false
language: python
always_run: true
- id: oca-fix-manifest-website
name: Fix the manifest website key
entry: oca-fix-manifest-website
pass_filenames: false
language: python
files: (__manifest__\.py|__openerp__\.py|__terp__\.py)$
- id: oca-gen-external-dependencies
name: Generate requirements.txt for an addons directory
entry: oca-gen-external-dependencies
language: python
pass_filenames: false
files: (__manifest__\.py|__openerp__\.py|__terp__\.py|setup\.py|pyproject\.toml)$