@@ -12,6 +12,8 @@ exclude: |
1212 /static/(src/)?lib/|
1313 # Repos using Sphinx to generate docs don't need prettying
1414 ^docs/_templates/.*\.html$|
15+ # Don't bother non-technical authors with formatting issues in docs
16+ readme/.*\.(rst|md)$|
1517 # You don't usually want a bot to modify your legal texts
1618 (LICENSE.*|COPYING.*)
1719default_language_version :
@@ -33,12 +35,24 @@ repos:
3335 language : fail
3436 files : ' [a-zA-Z0-9_]*/i18n/en\.po$'
3537 - repo : https://github.com/oca/maintainer-tools
36- rev : dfba427ba03900b69e0a7f2c65890dc48921d36a
38+ rev : 969238e47c07d0c40573acff81d170f63245d738
3739 hooks :
3840 # update the NOT INSTALLABLE ADDONS section above
3941 - id : oca-update-pre-commit-excluded-addons
4042 - id : oca-fix-manifest-website
4143 args : ["https://github.com/OCA/website-themes"]
44+ - id : oca-gen-addon-readme
45+ args :
46+ - --addons-dir=.
47+ - --branch=15.0
48+ - --org-name=OCA
49+ - --repo-name=website-themes
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
4256 - repo : https://github.com/myint/autoflake
4357 rev : v1.4
4458 hooks :
@@ -125,7 +139,7 @@ repos:
125139 name : flake8
126140 additional_dependencies : ["flake8-bugbear==21.9.2"]
127141 - repo : https://github.com/OCA/pylint-odoo
128- rev : 7.0.2
142+ rev : 7.0.5
129143 hooks :
130144 - id : pylint_odoo
131145 name : pylint with optional checks
0 commit comments