diff --git a/.copier-answers.yml b/.copier-answers.yml index 15f4fa944..672540a5c 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,7 +1,8 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.0.2 +_commit: v1.0.3 _src_path: gh:oca/oca-addons-repo-template dependency_installation_mode: PIP +generate_requirements_txt: true include_wkhtmltopdf: false odoo_version: 14.0 rebel_module_groups: [] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b1dce7938..832b21360 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,10 +26,12 @@ repos: language: fail files: "\\.rej$" - repo: https://github.com/oca/maintainer-tools - rev: 2c66e72 + rev: 1b5c7ad hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons + - id: oca-fix-manifest-website + args: ["https://github.com/OCA/partner-contact"] - repo: https://github.com/myint/autoflake rev: v1.4 hooks: @@ -39,12 +41,13 @@ repos: rev: 20.8b1 hooks: - id: black - - repo: https://github.com/prettier/prettier - rev: 2.1.2 + - repo: https://github.com/prettier/pre-commit + rev: v2.1.2 hooks: - id: prettier name: prettier + plugin-xml additional_dependencies: + - "prettier@2.1.2" - "@prettier/plugin-xml@0.12.0" args: - --plugin=@prettier/plugin-xml @@ -91,9 +94,15 @@ repos: - --settings=. exclude: /__init__\.py$ - repo: https://github.com/acsone/setuptools-odoo - rev: 2.5.10 + rev: 2.6.0 hooks: - id: setuptools-odoo-make-default + - id: setuptools-odoo-get-requirements + args: + - --output + - requirements.txt + - --header + - "# generated from manifests external_dependencies" - repo: https://gitlab.com/PyCQA/flake8 rev: 3.8.3 hooks: diff --git a/.prettierrc.yml b/.prettierrc.yml index fc5f3a7c4..5b6d4b361 100644 --- a/.prettierrc.yml +++ b/.prettierrc.yml @@ -5,4 +5,4 @@ printWidth: 88 proseWrap: always semi: true trailingComma: "es5" -xmlWhitespaceSensitivity: "ignore" +xmlWhitespaceSensitivity: "strict" diff --git a/.pylintrc b/.pylintrc index acbffe7b4..e33958833 100644 --- a/.pylintrc +++ b/.pylintrc @@ -28,6 +28,7 @@ enable=anomalous-backslash-in-string, class-camelcase, dangerous-default-value, dangerous-view-replace-wo-priority, + development-status-allowed, duplicate-id-csv, duplicate-key, duplicate-xml-fields, diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 1d979ab46..08bca3cef 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -21,6 +21,7 @@ enable=anomalous-backslash-in-string, class-camelcase, dangerous-default-value, dangerous-view-replace-wo-priority, + development-status-allowed, duplicate-id-csv, duplicate-key, duplicate-xml-fields, diff --git a/partner_contact_gender/__manifest__.py b/partner_contact_gender/__manifest__.py index e54ce6f6c..5b75cd753 100644 --- a/partner_contact_gender/__manifest__.py +++ b/partner_contact_gender/__manifest__.py @@ -6,7 +6,7 @@ "summary": "Add gender field to contacts", "version": "14.0.1.0.1", "category": "Customer Relationship Management", - "website": "https://github.com/oca/partner-contact", + "website": "https://github.com/OCA/partner-contact", "author": "Grupo ESOC, Tecnativa, Odoo Community Association (OCA)", "license": "AGPL-3", "application": False, diff --git a/partner_contact_lang/__manifest__.py b/partner_contact_lang/__manifest__.py index 57b3041d7..d098ee1ce 100644 --- a/partner_contact_lang/__manifest__.py +++ b/partner_contact_lang/__manifest__.py @@ -9,7 +9,7 @@ "category": "Sales", "license": "AGPL-3", "author": "Tecnativa, Odoo Community Association (OCA)", - "website": "https://github.com/OCA/partner-contact/", + "website": "https://github.com/OCA/partner-contact", "depends": ["base"], "data": ["views/res_partner_view.xml"], "installable": True, diff --git a/partner_phone_extension/__manifest__.py b/partner_phone_extension/__manifest__.py index 7a0c06cfb..de77557db 100644 --- a/partner_phone_extension/__manifest__.py +++ b/partner_phone_extension/__manifest__.py @@ -15,7 +15,7 @@ "Eficent, " "Serpent Consulting Services Pvt. Ltd., " "Odoo Community Association (OCA)", - "website": " https://github.com/OCA/partner-contact", + "website": "https://github.com/OCA/partner-contact", "license": "AGPL-3", "depends": ["base"], "data": ["views/res_partner_view.xml"],