diff --git a/.copier-answers.yml b/.copier-answers.yml index 28b14a54..2095cef5 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: Travis dependency_installation_mode: PIP @@ -20,3 +20,4 @@ repo_slug: l10n-usa repo_website: https://github.com/OCA/l10n-usa travis_apt_packages: [] travis_apt_sources: [] + diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2d76e846..58d560aa 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: ab1d7f6 hooks: