update config for 17.0

This commit is contained in:
Jérémy Didderen 2023-12-14 02:31:14 +01:00
parent 65089a2008
commit eca974d8d1
10 changed files with 31 additions and 20 deletions

View File

@ -1,14 +1,17 @@
# Do NOT update manually; changes here will be overwritten by Copier # Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.2 _commit: v2.2
_src_path: https://picasso.noviat.com/ci/addons-repo-template.git _src_path: https://picasso.noviat.com/ci/addons-repo-template.git
ci_exclude_modules: account_asset ci_exclude_modules: account_asset
ci_image: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest ci_image: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest
customer_slug: Noviat_Generic customer_slug: Noviat_Generic
generate_requirements_txt: true
odoo_enterprise: 1 odoo_enterprise: 1
odoo_version: 16.0 odoo_version: 17.0
org_name: Noviat org_name: Noviat
org_slug: Noviat org_slug: Noviat
repo_name: Modules dedicated to manage the EBICS protocol repo_name: Modules dedicated to manage the EBICS protocol
repo_slug: accounting-ebics repo_slug: accounting-ebics
repo_website: https://www.noviat.com/ repo_website: https://www.noviat.com/
use_pyproject_toml: false
use_ruff: false

View File

@ -22,6 +22,7 @@ globals:
odoo: readonly odoo: readonly
openerp: readonly openerp: readonly
owl: readonly owl: readonly
luxon: readonly
# Styling is handled by Prettier, so we only need to enable AST rules; # Styling is handled by Prettier, so we only need to enable AST rules;
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890 # see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890

View File

@ -4,9 +4,9 @@ include:
file: "/odoo-tests.template.yml" file: "/odoo-tests.template.yml"
variables: variables:
ODOO_CI_IMAGE: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest ODOO_CI_IMAGE: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest
VERSION: "16.0" VERSION: "17.0"
ODOO_BRANCH: "16.0" ODOO_BRANCH: "17.0"
ENTERPRISE: "1" ENTERPRISE: "1"
ODOO_PRECOMMIT: "1" ODOO_PRECOMMIT: "1"
ODOO_TEST: "1" ODOO_TEST: "1"

View File

@ -10,4 +10,4 @@ known_odoo=odoo
known_odoo_addons=odoo.addons known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
default_section=THIRDPARTY default_section=THIRDPARTY
ensure_newline_before_comments = True ensure_newline_before_comments = True

View File

@ -12,10 +12,12 @@ exclude: |
/static/(src/)?lib/| /static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying # Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$| ^docs/_templates/.*\.html$|
# Don't bother non-technical authors with formatting issues in docs
readme/.*\.(rst|md)$|
# Ignore build and dist directories in addons
/build/|/dist/|
# You don't usually want a bot to modify your legal texts # You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*) (LICENSE.*|COPYING.*)
# Exclude the TODO folders
/TODO/
default_language_version: default_language_version:
python: python3 python: python3
node: "16.17.0" node: "16.17.0"
@ -35,12 +37,17 @@ repos:
language: fail language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$' files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools - repo: https://github.com/oca/maintainer-tools
rev: 4cd2b852214dead80822e93e6749b16f2785b2fe rev: 9a170331575a265c092ee6b24b845ec508e8ef75
hooks: hooks:
# update the NOT INSTALLABLE ADDONS section above # update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons - id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website - id: oca-fix-manifest-website
args: ["https://www.noviat.com/"] args: ["https://www.noviat.com/"]
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.25
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
- repo: https://github.com/myint/autoflake - repo: https://github.com/myint/autoflake
rev: v1.6.1 rev: v1.6.1
hooks: hooks:
@ -127,7 +134,7 @@ repos:
name: flake8 name: flake8
additional_dependencies: ["flake8-bugbear==21.9.2"] additional_dependencies: ["flake8-bugbear==21.9.2"]
- repo: https://github.com/OCA/pylint-odoo - repo: https://github.com/OCA/pylint-odoo
rev: 7.0.2 rev: v9.0.4
hooks: hooks:
- id: pylint_odoo - id: pylint_odoo
name: pylint with optional checks name: pylint with optional checks

View File

@ -10,7 +10,7 @@ manifest_required_authors=Noviat
manifest_required_keys=license manifest_required_keys=license
manifest_deprecated_keys=description,active 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 license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=16.0 valid_odoo_versions=17.0
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=all disable=all
@ -41,7 +41,7 @@ enable=anomalous-backslash-in-string,
license-allowed, license-allowed,
manifest-author-string, manifest-author-string,
manifest-deprecated-key, manifest-deprecated-key,
manifest-required-author, # manifest-required-author,
manifest-required-key, manifest-required-key,
manifest-version-format, manifest-version-format,
method-compute, method-compute,
@ -108,7 +108,7 @@ enable=anomalous-backslash-in-string,
invalid-commit, invalid-commit,
missing-manifest-dependency, missing-manifest-dependency,
missing-newline-extrafiles, missing-newline-extrafiles,
missing-readme, # missing-readme,
no-utf8-coding-comment, no-utf8-coding-comment,
odoo-addons-relative-import, odoo-addons-relative-import,
old-api7-method-defined, old-api7-method-defined,

View File

@ -9,7 +9,7 @@ manifest_required_authors=Noviat
manifest_required_keys=license manifest_required_keys=license
manifest_deprecated_keys=description,active 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 license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid_odoo_versions=16.0 valid_odoo_versions=17.0
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=all disable=all
@ -33,7 +33,7 @@ enable=anomalous-backslash-in-string,
license-allowed, license-allowed,
manifest-author-string, manifest-author-string,
manifest-deprecated-key, manifest-deprecated-key,
manifest-required-author, # manifest-required-author,
manifest-required-key, manifest-required-key,
manifest-version-format, manifest-version-format,
method-compute, method-compute,

View File

@ -1,5 +1,5 @@
[![pipeline status](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/badges/16.0/pipeline.svg)](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/-/commits/16.0) [![pipeline status](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/badges/17.0/pipeline.svg)](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/-/commits/17.0)
[![coverage report](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/badges/16.0/coverage.svg)](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/-/commits/16.0) [![coverage report](https://picasso.noviat.com/Noviat/Noviat_Generic/accounting-ebics/badges/17.0/coverage.svg)](http://noviat.picasso-pages.noviat.com/Noviat_Generic/accounting-ebics)
<!-- /!\ do not modify above this line --> <!-- /!\ do not modify above this line -->

View File

@ -1,3 +1 @@
# generated from manifests external_dependencies # generated from manifests external_dependencies
cryptography
fintech

View File

@ -1 +1,3 @@
odoo-addon-module_change_auto_install
openupgradelib
cryptography<37 cryptography<37