From 1782a12048f8f8fe3a8850dd03b075725dbc6810 Mon Sep 17 00:00:00 2001 From: oca-git-bot Date: Sun, 11 Dec 2022 22:20:47 +0100 Subject: [PATCH] [IMP] update dotfiles [ci skip] --- .copier-answers.yml | 2 +- .pre-commit-config.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 3e182f86..d02ba22a 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.11.1 +_commit: v1.12.0 _src_path: gh:oca/oca-addons-repo-template ci: GitHub dependency_installation_mode: PIP diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7dbcef06..56a7f6c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,11 @@ repos: entry: found forbidden files; remove them language: fail files: "\\.rej$" + - id: en-po-files + name: en.po files cannot exist + entry: found a en.po file + language: fail + files: '[a-zA-Z0-9_]*/i18n/en\.po$' - repo: https://github.com/oca/maintainer-tools rev: 4cd2b852214dead80822e93e6749b16f2785b2fe hooks: