|
@ -26,10 +26,12 @@ repos: |
|
|
language: fail |
|
|
language: fail |
|
|
files: "\\.rej$" |
|
|
files: "\\.rej$" |
|
|
- repo: https://github.com/oca/maintainer-tools |
|
|
- repo: https://github.com/oca/maintainer-tools |
|
|
rev: 2c66e72 |
|
|
|
|
|
|
|
|
rev: 1b5c7ad |
|
|
hooks: |
|
|
hooks: |
|
|
# update the NOT INSTALLABLE ADDONS section above |
|
|
# update the NOT INSTALLABLE ADDONS section above |
|
|
- id: oca-update-pre-commit-excluded-addons |
|
|
- id: oca-update-pre-commit-excluded-addons |
|
|
|
|
|
- id: oca-fix-manifest-website |
|
|
|
|
|
args: ["https://github.com/OCA/partner-contact"] |
|
|
- repo: https://github.com/myint/autoflake |
|
|
- repo: https://github.com/myint/autoflake |
|
|
rev: v1.4 |
|
|
rev: v1.4 |
|
|
hooks: |
|
|
hooks: |
|
@ -39,12 +41,13 @@ repos: |
|
|
rev: 20.8b1 |
|
|
rev: 20.8b1 |
|
|
hooks: |
|
|
hooks: |
|
|
- id: black |
|
|
- id: black |
|
|
- repo: https://github.com/prettier/prettier |
|
|
|
|
|
rev: 2.1.2 |
|
|
|
|
|
|
|
|
- repo: https://github.com/prettier/pre-commit |
|
|
|
|
|
rev: v2.1.2 |
|
|
hooks: |
|
|
hooks: |
|
|
- id: prettier |
|
|
- id: prettier |
|
|
name: prettier + plugin-xml |
|
|
name: prettier + plugin-xml |
|
|
additional_dependencies: |
|
|
additional_dependencies: |
|
|
|
|
|
- "prettier@2.1.2" |
|
|
- "@prettier/plugin-xml@0.12.0" |
|
|
- "@prettier/plugin-xml@0.12.0" |
|
|
args: |
|
|
args: |
|
|
- --plugin=@prettier/plugin-xml |
|
|
- --plugin=@prettier/plugin-xml |
|
@ -91,9 +94,15 @@ repos: |
|
|
- --settings=. |
|
|
- --settings=. |
|
|
exclude: /__init__\.py$ |
|
|
exclude: /__init__\.py$ |
|
|
- repo: https://github.com/acsone/setuptools-odoo |
|
|
- repo: https://github.com/acsone/setuptools-odoo |
|
|
rev: 2.5.10 |
|
|
|
|
|
|
|
|
rev: 2.6.0 |
|
|
hooks: |
|
|
hooks: |
|
|
- id: setuptools-odoo-make-default |
|
|
- id: setuptools-odoo-make-default |
|
|
|
|
|
- id: setuptools-odoo-get-requirements |
|
|
|
|
|
args: |
|
|
|
|
|
- --output |
|
|
|
|
|
- requirements.txt |
|
|
|
|
|
- --header |
|
|
|
|
|
- "# generated from manifests external_dependencies" |
|
|
- repo: https://gitlab.com/PyCQA/flake8 |
|
|
- repo: https://gitlab.com/PyCQA/flake8 |
|
|
rev: 3.8.3 |
|
|
rev: 3.8.3 |
|
|
hooks: |
|
|
hooks: |
|
|