diff --git a/.copier-answers.yml b/.copier-answers.yml index 6eec4389..882c4a80 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.42 +_commit: v1.44 _src_path: git+https://github.com/OCA/oca-addons-repo-template additional_ruff_rules: [] convert_readme_fragments_to_markdown: true @@ -16,6 +16,7 @@ odoo_test_flavor: Both odoo_version: 18.0 org_name: Odoo Community Association (OCA) org_slug: OCA +postgres_image: '' rebel_module_groups: [] repo_description: ai repo_name: ai diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 72aac6e1..408069d3 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,6 +10,10 @@ on: - "18.0" - "18.0-ocabot-*" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: pre-commit: runs-on: ubuntu-22.04 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97ed5dfd..cd982c1e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,10 @@ on: - "18.0" - "18.0-ocabot-*" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: unreleased-deps: runs-on: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 31b5423d..ad6e73a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,7 +48,7 @@ repos: hooks: - id: whool-init - repo: https://github.com/oca/maintainer-tools - rev: b89f767503be6ab2b11e4f50a7557cb20066e667 + rev: 31bdbd8e4cb94be6534f0e82b1cafb84a455f671 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons diff --git a/.pylintrc b/.pylintrc index 197cb673..914fd235 100644 --- a/.pylintrc +++ b/.pylintrc @@ -4,6 +4,9 @@ load-plugins=pylint_odoo score=n +[IMPORTS] +deprecated-modules=pdb,pudb,ipdb,bs4 + [ODOOLINT] readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" manifest-required-authors=Odoo Community Association (OCA) @@ -41,6 +44,7 @@ enable=anomalous-backslash-in-string, assignment-from-none, attribute-deprecated, dangerous-default-value, + deprecated-module, development-status-allowed, duplicate-key, eval-used, @@ -100,7 +104,7 @@ enable=anomalous-backslash-in-string, website-manifest-key-not-valid-uri, external-request-timeout, missing-manifest-dependency, - too-complex,, + too-complex, create-user-wo-reset-password, dangerous-filter-wo-user, file-not-used, diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 73674c04..e4fd970b 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -3,6 +3,9 @@ load-plugins=pylint_odoo score=n +[IMPORTS] +deprecated-modules=pdb,pudb,ipdb,bs4 + [ODOOLINT] readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" manifest-required-authors=Odoo Community Association (OCA) @@ -33,6 +36,7 @@ enable=anomalous-backslash-in-string, assignment-from-none, attribute-deprecated, dangerous-default-value, + deprecated-module, development-status-allowed, duplicate-key, eval-used, diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..bd6c2a4f --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", ":disableDependencyDashboard"], + "baseBranchPatterns": ["19.0", "18.0", "17.0", "16.0", "15.0"], + "enabledManagers": ["copier"] +}