From 307db0a566fb1849d8c6f50170c37ccd7a36118e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 3 Nov 2022 15:37:28 +0100 Subject: [PATCH 1/2] [DCK] Updated from template --- .copier-answers.yml | 8 +++++++- .gitignore | 1 - .pre-commit-config.yaml | 12 ++++-------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 0bf8d97..2e678c9 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,9 +1,14 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.5.2 +_commit: v1.11.0 _src_path: gh:oca/oca-addons-repo-template ci: GitHub dependency_installation_mode: PIP generate_requirements_txt: true +github_check_license: true +github_enable_codecov: true +github_enable_makepot: true +github_enable_stale_action: true +github_enforce_dev_status_compatibility: true include_wkhtmltopdf: false odoo_version: 15.0 org_name: Odoo Community Association (OCA) @@ -15,3 +20,4 @@ repo_slug: social repo_website: https://github.com/OCA/social travis_apt_packages: [] travis_apt_sources: [] + diff --git a/.gitignore b/.gitignore index 818770f..9c283fd 100644 --- a/.gitignore +++ b/.gitignore @@ -15,7 +15,6 @@ build/ develop-eggs/ dist/ eggs/ -lib/ lib64/ parts/ sdist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b2b94a1..7c1039a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -119,19 +119,15 @@ repos: - id: flake8 name: flake8 additional_dependencies: ["flake8-bugbear==21.9.2"] - - repo: https://github.com/PyCQA/pylint - rev: v2.11.1 + - repo: https://github.com/OCA/pylint-odoo + rev: 7.0.2 hooks: - - id: pylint + - id: pylint_odoo name: pylint with optional checks args: - --rcfile=.pylintrc - --exit-zero verbose: true - additional_dependencies: &pylint_deps - - pylint-odoo==5.0.5 - - id: pylint - name: pylint with mandatory checks + - id: pylint_odoo args: - --rcfile=.pylintrc-mandatory - additional_dependencies: *pylint_deps From 7e1db763914785bd495c21e39e540fbd24beb6f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 3 Nov 2022 15:41:27 +0100 Subject: [PATCH 2/2] [FIX] mail_activity_partner: Remove test folder from __init__ --- mail_activity_partner/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mail_activity_partner/__init__.py b/mail_activity_partner/__init__.py index cfc40a3..83e553a 100644 --- a/mail_activity_partner/__init__.py +++ b/mail_activity_partner/__init__.py @@ -1,4 +1,3 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models -from . import tests