From 65b6754209f47e0df5312fe055621749ece3707d Mon Sep 17 00:00:00 2001 From: Morita Shinnosuke Date: Mon, 27 Jul 2026 07:47:44 +0000 Subject: [PATCH] [UPD] copier update --- .copier-answers.yml | 4 ++-- .github/workflows/pre-commit.yml | 7 ++++++- .github/workflows/test.yml | 4 ++++ .pre-commit-config.yaml | 9 +++++++-- .pylintrc | 6 +++++- .pylintrc-mandatory | 4 ++++ renovate.json | 6 ++++++ 7 files changed, 34 insertions(+), 6 deletions(-) create mode 100644 renovate.json diff --git a/.copier-answers.yml b/.copier-answers.yml index 8ea67fc..62b390c 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,7 +1,6 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.39 +_commit: v1.44 _src_path: https://github.com/OCA/oca-addons-repo-template.git -ci: GitHub convert_readme_fragments_to_markdown: true enable_checklog_odoo: false generate_requirements_txt: true @@ -16,6 +15,7 @@ odoo_test_flavor: OCB odoo_version: 15.0 org_name: Odoo Community Association (OCA) org_slug: qrtl +postgres_image: '' rebel_module_groups: [] repo_description: '' repo_name: MI7 OCA diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 7b384a1..487429f 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,3 +1,4 @@ + name: pre-commit on: @@ -9,6 +10,10 @@ on: - "15.0" - "15.0-ocabot-*" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: pre-commit: runs-on: ubuntu-22.04 @@ -16,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.8" cache: 'pip' cache-dependency-path: '.pre-commit-config.yaml' - name: Get python version diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4f9b99..c7141ba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,10 @@ on: - "15.0" - "15.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 12e151b..d8b678b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ exclude: | # You don't usually want a bot to modify your legal texts (LICENSE.*|COPYING.*) default_language_version: - python: python3 + python: python3.8 node: "14.18.0" repos: - repo: local @@ -38,8 +38,13 @@ repos: entry: found a en.po file language: fail files: '[a-zA-Z0-9_]*/i18n/en\.po$' + - id: obsolete dotfiles + name: obsolete dotfiles + entry: found obsolete files; remove them + files: '^(\.travis\.yml|\.t2d\.yml|CONTRIBUTING\.md)$' + language: fail - repo: https://github.com/oca/maintainer-tools - rev: f9b919b9868143135a9c9cb03021089cabba8223 + rev: 31bdbd8e4cb94be6534f0e82b1cafb84a455f671 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons diff --git a/.pylintrc b/.pylintrc index 6720601..525b1d1 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, @@ -99,7 +103,7 @@ enable=anomalous-backslash-in-string, translation-positional-used, website-manifest-key-not-valid-uri, 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 f0c568c..733e859 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 0000000..ad53daa --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended", ":disableDependencyDashboard"], + "baseBranchPatterns": ["16.0", "15.0", "14.0", "13.0", "12.0"], + "enabledManagers": ["copier"] +}