From 045716867e8da1b32eea217282f82732db409466 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 21 Apr 2021 09:16:06 +0100 Subject: [PATCH] [IMP] update dotfiles --- .copier-answers.yml | 2 +- .pre-commit-config.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 9a5cfd13..bfa14ece 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # 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 dependency_installation_mode: PIP generate_requirements_txt: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a2b12f1..76c44543 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,12 +47,13 @@ repos: rev: v2.1.2 hooks: - id: prettier - name: prettier + plugin-xml + name: prettier (with plugin-xml) additional_dependencies: - "prettier@2.1.2" - "@prettier/plugin-xml@0.12.0" args: - --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 rev: v7.8.1 hooks: @@ -87,6 +88,7 @@ repos: rev: v2.7.2 hooks: - id: pyupgrade + args: ["--keep-percent-format"] - repo: https://github.com/PyCQA/isort rev: 5.5.1 hooks: