mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
added another hook to readme. Improved last 2 hooks doc in readme
This commit is contained in:
parent
c7429b5137
commit
2a7440ef4f
2 changed files with 56 additions and 6 deletions
|
|
@ -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+)*'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue