@@ -12,6 +12,8 @@ exclude: |
12
12
/static/(src/)?lib/|
13
13
# Repos using Sphinx to generate docs don't need prettying
14
14
^docs/_templates/.*\.html$|
15
+ # Don't bother non-technical authors with formatting issues in docs
16
+ readme/.*\.(rst|md)$|
15
17
# You don't usually want a bot to modify your legal texts
16
18
(LICENSE.*|COPYING.*)
17
19
default_language_version :
@@ -33,12 +35,24 @@ repos:
33
35
language : fail
34
36
files : ' [a-zA-Z0-9_]*/i18n/en\.po$'
35
37
- repo : https://github.com/oca/maintainer-tools
36
- rev : dfba427ba03900b69e0a7f2c65890dc48921d36a
38
+ rev : 969238e47c07d0c40573acff81d170f63245d738
37
39
hooks :
38
40
# update the NOT INSTALLABLE ADDONS section above
39
41
- id : oca-update-pre-commit-excluded-addons
40
42
- id : oca-fix-manifest-website
41
43
args : ["https://github.com/OCA/connector-magento"]
44
+ - id : oca-gen-addon-readme
45
+ args :
46
+ - --addons-dir=.
47
+ - --branch=15.0
48
+ - --org-name=OCA
49
+ - --repo-name=connector-magento
50
+ - --if-source-changed
51
+ - repo : https://github.com/OCA/odoo-pre-commit-hooks
52
+ rev : v0.0.25
53
+ hooks :
54
+ - id : oca-checks-odoo-module
55
+ - id : oca-checks-po
42
56
- repo : https://github.com/myint/autoflake
43
57
rev : v1.4
44
58
hooks :
@@ -125,7 +139,7 @@ repos:
125
139
name : flake8
126
140
additional_dependencies : ["flake8-bugbear==21.9.2"]
127
141
- repo : https://github.com/OCA/pylint-odoo
128
- rev : 7.0.2
142
+ rev : 7.0.5
129
143
hooks :
130
144
- id : pylint_odoo
131
145
name : pylint with optional checks
0 commit comments