mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46: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
|
|
@ -215,7 +215,7 @@
|
|||
always_run: true
|
||||
- id: check-line
|
||||
name: Check Line
|
||||
description: Checks desired lines are formatted as desired in python an xml files.
|
||||
description: Checks desired lines are formatted as desired in python and xml files.
|
||||
entry: check-line
|
||||
language: python
|
||||
- id: check-model-name
|
||||
|
|
@ -226,16 +226,19 @@
|
|||
types: [python]
|
||||
- id: check-class-docstring
|
||||
name: Check Class Docstring
|
||||
description: Checks that each python class has a docstring.
|
||||
entry: check-class-docstring
|
||||
language: python
|
||||
types: [python]
|
||||
- id: check-view-name
|
||||
name: Check View Name
|
||||
description: Checks that odoo views name follow odoo guidelines.
|
||||
entry: check-view-name
|
||||
language: python
|
||||
types: [xml]
|
||||
- id: check-view-fields-order
|
||||
name: Check View Fields Order
|
||||
description: Checks view fields order follow odoo guidelines.
|
||||
entry: check-view-fields-order
|
||||
language: python
|
||||
types: [xml]
|
||||
Loading…
Add table
Add a link
Reference in a new issue