From 1cbfbb003e8e522e33d57a681048ea0c157d6ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Alix?= Date: Thu, 8 Dec 2022 16:20:43 +0100 Subject: [PATCH] [FIX] Update from copier template --- .copier-answers.yml | 11 +++++++++-- .gitignore | 1 - .pre-commit-config.yaml | 16 ++++++---------- .pylintrc | 2 ++ .pylintrc-mandatory | 1 + README.md | 2 +- 6 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index adce0d99298..c2694c20ff7 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,17 +1,24 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.5.2 +_commit: v1.11.1 _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: 14.0 org_name: Odoo Community Association (OCA) org_slug: OCA rebel_module_groups: [] -repo_description: 'TODO: add repo description.' +repo_description: This project aims to deal with the printing of documents on external + devices. repo_name: report-print-send repo_slug: report-print-send repo_website: https://github.com/OCA/report-print-send travis_apt_packages: [] travis_apt_sources: [] + diff --git a/.gitignore b/.gitignore index 818770fb1bd..9c283fd41f6 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 f3cc54722e6..b49c44e9628 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -104,7 +104,7 @@ repos: - --settings=. exclude: /__init__\.py$ - repo: https://github.com/acsone/setuptools-odoo - rev: 2.6.0 + rev: 3.1.8 hooks: - id: setuptools-odoo-make-default - id: setuptools-odoo-get-requirements @@ -113,25 +113,21 @@ repos: - requirements.txt - --header - "# generated from manifests external_dependencies" - - repo: https://gitlab.com/PyCQA/flake8 + - repo: https://github.com/PyCQA/flake8 rev: 3.8.3 hooks: - id: flake8 name: flake8 additional_dependencies: ["flake8-bugbear==20.1.4"] - - 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 diff --git a/.pylintrc b/.pylintrc index e33958833ed..d1f72970bc3 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,3 +1,5 @@ + + [MASTER] load-plugins=pylint_odoo score=n diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 08bca3cefef..3bf8ceefbc6 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -1,3 +1,4 @@ + [MASTER] load-plugins=pylint_odoo score=n diff --git a/README.md b/README.md index 5d2ec478c7e..caeee67dcd4 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ # report-print-send -TODO: add repo description. +This project aims to deal with the printing of documents on external devices.