From 7b9e99ddf264decbef1a5ccb599d9d937809627f Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 3 Dec 2022 12:15:34 +0100 Subject: [PATCH] [FIX] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 14 +++++--------- .../odoo/addons/product_harmonized_system_delivery | 1 + setup/product_harmonized_system_delivery/setup.py | 6 ++++++ 3 files changed, 12 insertions(+), 9 deletions(-) create mode 120000 setup/product_harmonized_system_delivery/odoo/addons/product_harmonized_system_delivery create mode 100644 setup/product_harmonized_system_delivery/setup.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f95cc10..8c0e55e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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.9.2 hooks: - 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 diff --git a/setup/product_harmonized_system_delivery/odoo/addons/product_harmonized_system_delivery b/setup/product_harmonized_system_delivery/odoo/addons/product_harmonized_system_delivery new file mode 120000 index 0000000..61e2d97 --- /dev/null +++ b/setup/product_harmonized_system_delivery/odoo/addons/product_harmonized_system_delivery @@ -0,0 +1 @@ +../../../../product_harmonized_system_delivery \ No newline at end of file diff --git a/setup/product_harmonized_system_delivery/setup.py b/setup/product_harmonized_system_delivery/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/product_harmonized_system_delivery/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)