mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-27 14:37:25 +00:00
Merge branch '17.0-ci_update' into '17.0'
update CI config See merge request Noviat/Noviat_Generic/accounting-ebics!30
This commit is contained in:
commit
2a4f0f7b75
@ -1,17 +1,12 @@
|
||||
# Do NOT update manually; changes here will be overwritten by Copier
|
||||
_commit: v2.2
|
||||
_commit: v3.1
|
||||
_src_path: https://picasso.noviat.com/ci/addons-repo-template.git
|
||||
ci_exclude_modules: account_asset
|
||||
ci_image: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest
|
||||
customer_slug: Noviat_Generic
|
||||
generate_requirements_txt: true
|
||||
odoo_enterprise: 1
|
||||
odoo_version: 17.0
|
||||
org_name: Noviat
|
||||
org_slug: Noviat
|
||||
repo_name: Modules dedicated to manage the EBICS protocol
|
||||
repo_slug: accounting-ebics
|
||||
repo_website: https://www.noviat.com/
|
||||
use_pyproject_toml: false
|
||||
use_ruff: false
|
||||
repo_type: Customer/Generic Addons
|
||||
|
||||
|
12
.flake8
12
.flake8
@ -1,12 +0,0 @@
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
max-complexity = 16
|
||||
# B = bugbear
|
||||
# B9 = bugbear opinionated (incl line length)
|
||||
select = C,E,F,W,B,B9
|
||||
# E203: whitespace before ':' (black behaviour)
|
||||
# E501: flake8 line length (covered by bugbear B950)
|
||||
# W503: line break before binary operator (black behaviour)
|
||||
ignore = E203,E501,W503
|
||||
per-file-ignores=
|
||||
__init__.py:F401
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -70,6 +70,3 @@ docs/_build/
|
||||
# Backup files
|
||||
*~
|
||||
*.swp
|
||||
|
||||
# OCA rules
|
||||
!static/lib/
|
||||
|
@ -10,4 +10,5 @@ variables:
|
||||
ENTERPRISE: "1"
|
||||
ODOO_PRECOMMIT: "1"
|
||||
ODOO_TEST: "1"
|
||||
ODOO_GENERATE_POT: "1"
|
||||
EXCLUDE_MODULES: "account_asset"
|
||||
|
@ -41,7 +41,7 @@ repos:
|
||||
hooks:
|
||||
- id: whool-init
|
||||
- repo: https://github.com/oca/maintainer-tools
|
||||
rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60
|
||||
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
|
||||
hooks:
|
||||
# update the NOT INSTALLABLE ADDONS section above
|
||||
- id: oca-update-pre-commit-excluded-addons
|
||||
@ -101,7 +101,7 @@ repos:
|
||||
args: [--fix, --exit-non-zero-on-fix]
|
||||
- id: ruff-format
|
||||
- repo: https://github.com/OCA/pylint-odoo
|
||||
rev: v8.0.19
|
||||
rev: v9.0.4
|
||||
hooks:
|
||||
- id: pylint_odoo
|
||||
name: pylint with optional checks
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
[MASTER]
|
||||
ignore-patterns=["^.*/TODO/.*$"]
|
||||
load-plugins=pylint_odoo
|
||||
@ -42,7 +41,7 @@ enable=anomalous-backslash-in-string,
|
||||
license-allowed,
|
||||
manifest-author-string,
|
||||
manifest-deprecated-key,
|
||||
manifest-required-author,
|
||||
# manifest-required-author,
|
||||
manifest-required-key,
|
||||
manifest-version-format,
|
||||
method-compute,
|
||||
|
@ -1,11 +1,11 @@
|
||||
|
||||
[MASTER]
|
||||
ignore-patterns=["^.*/TODO/.*$"]
|
||||
load-plugins=pylint_odoo
|
||||
score=n
|
||||
|
||||
[ODOOLINT]
|
||||
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
|
||||
manifest-required-authors=Odoo Community Association (OCA)
|
||||
#readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
|
||||
manifest-required-authors=Noviat
|
||||
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
|
||||
@ -33,7 +33,7 @@ enable=anomalous-backslash-in-string,
|
||||
license-allowed,
|
||||
manifest-author-string,
|
||||
manifest-deprecated-key,
|
||||
manifest-required-author,
|
||||
# manifest-required-author,
|
||||
manifest-required-key,
|
||||
manifest-version-format,
|
||||
method-compute,
|
||||
|
@ -6,6 +6,7 @@ fix = true
|
||||
extend-select = [
|
||||
"B",
|
||||
"C90",
|
||||
"E501", # line too long (default 88)
|
||||
"I", # isort
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
|
@ -148,7 +148,7 @@ class EbicsConfig(models.Model):
|
||||
ok = False
|
||||
if not ok:
|
||||
raise UserError(
|
||||
_(
|
||||
_( # pylint: disable=W8120
|
||||
"Order Number should comply with the following pattern:"
|
||||
"\n[A-Z]{1}[A-Z0-9]{3}"
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 2009-2023 Noviat.
|
||||
# Copyright 2009-2024 Noviat.
|
||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lgpl).
|
||||
|
||||
import base64
|
||||
@ -168,8 +168,8 @@ class EbicsFile(models.Model):
|
||||
if raise_if_not_found:
|
||||
raise UserError(
|
||||
_(
|
||||
"The module to process the '%(ebics_format)s' format is not installed "
|
||||
"on your system. "
|
||||
"The module to process the '%(ebics_format)s' format is not "
|
||||
"installed on your system. "
|
||||
"\nPlease install module '%(module)s'",
|
||||
ebics_format=self.format_id.name,
|
||||
module=module,
|
||||
|
10
oca_dependencies.txt
Normal file
10
oca_dependencies.txt
Normal file
@ -0,0 +1,10 @@
|
||||
# See https://github.com/OCA/maintainer-quality-tools/blob/master/travis/clone_oca_dependencies
|
||||
# The expected format for oca_dependencies.txt:
|
||||
# * comment lines start with # and are ignored
|
||||
# * a dependency line contains:
|
||||
# - the name of the OCA project
|
||||
# - (optional) the URL to the git repository (defaulting to the OCA repository)
|
||||
# - (optional) the name of the branch to use (defaulting to ${VERSION}). It is
|
||||
# required if you want to select a commit SHA in the next parameter.
|
||||
# - (optional) the commit SHA1 to use. If you set this option you MUST specify
|
||||
# the branch
|
Loading…
Reference in New Issue
Block a user