From 9008985a755250b64e01155bbbea2dd6076b63dd Mon Sep 17 00:00:00 2001 From: Aungkokolin1997 Date: Mon, 24 Jun 2024 11:39:27 +0700 Subject: [PATCH] [UPD] dotfiles --- .copier-answers.yml | 10 ++++------ .github/workflows/stale.yml | 4 ++-- .gitignore | 1 + .oca_hooks.cfg | 2 ++ .pylintrc | 4 ++-- .pylintrc-mandatory | 4 ++-- README.md | 2 +- 7 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 .oca_hooks.cfg diff --git a/.copier-answers.yml b/.copier-answers.yml index a8f16e82..76f70f43 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,8 +1,8 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.17.1 +_commit: v1.22 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub -dependency_installation_mode: PIP +convert_readme_fragments_to_markdown: false generate_requirements_txt: true github_check_license: true github_ci_extra_env: {} @@ -13,13 +13,11 @@ github_enforce_dev_status_compatibility: false include_wkhtmltopdf: false odoo_test_flavor: OCB odoo_version: 12.0 -org_name: Quartile Limited +org_name: '' org_slug: qrtl rebel_module_groups: [] -repo_description: null +repo_description: '' repo_name: HLS Custom repo_slug: hls-custom repo_website: https://www.quartile.co -travis_apt_packages: [] -travis_apt_sources: [] diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1693a125..fa17fcd4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Stale PRs and issues policy - uses: actions/stale@v4 + uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} # General settings. @@ -48,7 +48,7 @@ jobs: # * Issues that are pending more information # * Except Issues marked as "no stale" - name: Needs more information stale issues policy - uses: actions/stale@v4 + uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} ascending: true diff --git a/.gitignore b/.gitignore index 9c283fd4..0090721f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ __pycache__/ *.py[cod] /.venv /.pytest_cache +/.ruff_cache # C extensions *.so diff --git a/.oca_hooks.cfg b/.oca_hooks.cfg new file mode 100644 index 00000000..1f3e3e42 --- /dev/null +++ b/.oca_hooks.cfg @@ -0,0 +1,2 @@ +[MESSAGES_CONTROL] +disable=xml-deprecated-data-node,xml-deprecated-tree-attribute diff --git a/.pylintrc b/.pylintrc index a9dbd34d..de7f1377 100644 --- a/.pylintrc +++ b/.pylintrc @@ -4,7 +4,7 @@ score=n [ODOOLINT] readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" -manifest_required_authors=Quartile Limited +; manifest_required_authors= manifest_required_keys=license manifest_deprecated_keys=description,active license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 @@ -103,7 +103,7 @@ enable=anomalous-backslash-in-string, eval-referenced, license-allowed, manifest-author-string, - manifest-required-author, +# manifest-required-author, manifest-required-key, manifest-version-format, api-one-deprecated, diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index b51373ac..3cd6ceb3 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -4,7 +4,7 @@ score=n [ODOOLINT] readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst" -manifest_required_authors=Quartile Limited + manifest_required_keys=license manifest_deprecated_keys=description,active license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3 @@ -57,7 +57,7 @@ enable=anomalous-backslash-in-string, eval-referenced, license-allowed, manifest-author-string, - manifest-required-author, + manifest-required-key, manifest-version-format diff --git a/README.md b/README.md index 2fdc3c63..2acc439b 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ This part will be replaced when running the oca-gen-addons-table script from OCA This repository is licensed under [AGPL-3.0](LICENSE). -However, each module can have a totally different license, as long as they adhere to Quartile Limited +However, each module can have a totally different license, as long as they adhere to policy. Consult each module's `__manifest__.py` file, which contains a `license` key that explains its license.