Merge PR #503 into 14.0

Signed-off-by Yajo
pull/509/head
OCA-git-bot 2021-04-21 08:18:09 +00:00
commit e27a165476
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier # Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.1.1 _commit: v1.1.3
_src_path: gh:oca/oca-addons-repo-template _src_path: gh:oca/oca-addons-repo-template
dependency_installation_mode: PIP dependency_installation_mode: PIP
generate_requirements_txt: true generate_requirements_txt: true

View File

@ -47,12 +47,13 @@ repos:
rev: v2.1.2 rev: v2.1.2
hooks: hooks:
- id: prettier - id: prettier
name: prettier + plugin-xml name: prettier (with plugin-xml)
additional_dependencies: additional_dependencies:
- "prettier@2.1.2" - "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
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-eslint - repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.8.1 rev: v7.8.1
hooks: hooks:
@ -87,6 +88,7 @@ repos:
rev: v2.7.2 rev: v2.7.2
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.5.1 rev: 5.5.1
hooks: hooks: