From 59c67f32b856cdb64c57e8d889710eb6248e3fa6 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 5 Dec 2022 18:41:14 +0100 Subject: [PATCH] [FIX] Update copier template For fixing the Flake8 Gitlab problem. --- .copier-answers.yml | 2 +- .pre-commit-config.yaml | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 191d6ab9..1954727c 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.8.0 +_commit: v1.11.1 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub dependency_installation_mode: OCA diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 64c742a2..182adeb0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -102,10 +102,16 @@ repos: name: isort except __init__.py exclude: /__init__\.py$ - repo: https://github.com/acsone/setuptools-odoo - rev: 2.5.2 + rev: 3.1.8 hooks: - 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 hooks: - id: flake8