mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
added all hooks to readme. Passing all tests
This commit is contained in:
parent
2a7440ef4f
commit
c0145f16cb
3 changed files with 33 additions and 5 deletions
|
|
@ -53,6 +53,10 @@ repos:
|
|||
args: [
|
||||
--exclude, '.*(\/)*__openerp__.py$',
|
||||
]
|
||||
- id: check-branch-name
|
||||
args: [
|
||||
--regex, 'develop\..+?\.(DEFECTO|INVES|MEJORA)\.\d+(_\d+)*'
|
||||
]
|
||||
- id: check-line
|
||||
args: [
|
||||
--line-to-check, '^(\t| )*<field.+',
|
||||
|
|
@ -72,8 +76,4 @@ repos:
|
|||
- id: check-model-name
|
||||
- id: check-view-name
|
||||
- id: check-view-fields-order
|
||||
- id: check-branch-name
|
||||
args: [
|
||||
--regex, 'develop\..+?\.(DEFECTO|INVES|MEJORA)\.\d+(_\d+)*'
|
||||
]
|
||||
- id: check-class-docstring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue