[FIX] Update copier template

For fixing the Flake8 Gitlab problem.
This commit is contained in:
Pedro M. Baeza
2022-12-05 18:41:14 +01:00
parent ff46817c23
commit 59c67f32b8
2 changed files with 9 additions and 3 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.8.0 _commit: v1.11.1
_src_path: https://github.com/OCA/oca-addons-repo-template.git _src_path: https://github.com/OCA/oca-addons-repo-template.git
ci: GitHub ci: GitHub
dependency_installation_mode: OCA dependency_installation_mode: OCA

View File

@@ -102,10 +102,16 @@ repos:
name: isort except __init__.py name: isort except __init__.py
exclude: /__init__\.py$ exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo - repo: https://github.com/acsone/setuptools-odoo
rev: 2.5.2 rev: 3.1.8
hooks: hooks:
- id: setuptools-odoo-make-default - id: setuptools-odoo-make-default
- repo: https://gitlab.com/pycqa/flake8 - id: setuptools-odoo-get-requirements
args:
- --output
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://github.com/PyCQA/flake8
rev: 3.7.9 rev: 3.7.9
hooks: hooks:
- id: flake8 - id: flake8