update pylint10, corrije authors manifest

This commit is contained in:
snt 2026-02-12 17:15:33 +01:00
parent 0889cdfc3a
commit 4207afbc3f
9 changed files with 139 additions and 195 deletions

View file

@ -2,14 +2,6 @@
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)
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,Other OSI approved licence,Other proprietary
valid_odoo_versions=16.0,17.0,18.0
[MESSAGES CONTROL]
disable=all
@ -22,67 +14,76 @@ disable=all
# checks.
enable=anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
attribute-deprecated,
class-camelcase,
attribute-string-redundant,
bad-builtin-groupby,
category-allowed,
category-allowed-app,
consider-merging-classes-inherited,
context-overridden,
copy-wo-api-one,
dangerous-default-value,
dangerous-view-replace-wo-priority,
deprecated-name-get,
deprecated-odoo-model-method,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
except-pass,
external-request-timeout,
inheritable-method-lambda,
inheritable-method-string,
invalid-commit,
invalid-email,
license-allowed,
manifest-author-string,
manifest-behind-migrations,
manifest-data-duplicated,
manifest-deprecated-key,
manifest-external-assets,
manifest-maintainers-list,
manifest-required-author,
manifest-required-key,
manifest-required-key-app,
manifest-superfluous-key,
manifest-version-format,
method-compute,
method-inverse,
method-required-super,
method-search,
missing-import-error,
missing-manifest-dependency,
openerp-exception-warning,
missing-odoo-file,
missing-odoo-file-app,
missing-readme,
missing-return,
no-raise-unlink,
no-search-all,
no-wizard-in-models,
no-write-in-compute,
odoo-addons-relative-import,
odoo-exception-warning,
pointless-statement,
pointless-string-statement,
prefer-env-translation,
print-used,
prohibited-method-override,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
renamed-field-parameter,
resource-not-exist,
sql-injection,
super-method-mismatch,
test-folder-imported,
too-few-format-args,
translation-contains-variable,
translation-field,
translation-format-interpolation,
translation-format-truncated,
translation-fstring-interpolation,
translation-not-lazy,
translation-positional-used,
translation-required,
unreachable,
translation-too-few-args,
translation-too-many-args,
translation-unsupported-format,
use-vim-comment,
wrong-tabs-instead-of-spaces,
xml-syntax-error
# messages that do not cause the lint step to fail
consider-merging-classes-inherited,
create-user-wo-reset-password,
deprecated-module,
file-not-used,
invalid-commit,
missing-newline-extrafiles,
missing-readme,
no-utf8-coding-comment,
odoo-addons-relative-import,
old-api7-method-defined,
redefined-builtin,
too-complex,
unnecessary-utf8-coding-comment
website-manifest-key-not-valid-uri
[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}