added another hook to readme. Improved last 2 hooks doc in readme

This commit is contained in:
Alvaro Andrés Rodríguez Scelza 2019-06-11 10:41:20 -03:00
parent c7429b5137
commit 2a7440ef4f
2 changed files with 56 additions and 6 deletions

View file

@ -49,6 +49,10 @@ repos:
--files, '.*_templates\.xml$ .*_views\.xml$',
--files, '.*\.py$ .*_views\.xml$',
]
- id: check-using-pylint
args: [
--exclude, '.*(\/)*__openerp__.py$',
]
- id: check-line
args: [
--line-to-check, '^(\t| )*<field.+',
@ -68,10 +72,6 @@ repos:
- id: check-model-name
- id: check-view-name
- id: check-view-fields-order
- id: check-using-pylint
args: [
--exclude, '.*(\/)*__openerp__.py$',
]
- id: check-branch-name
args: [
--regex, 'develop\..+?\.(DEFECTO|INVES|MEJORA)\.\d+(_\d+)*'