Skip to content

Commit

Permalink
fix: as per OCA/pylint-odoo#426, underscores were replaced with dashe…
Browse files Browse the repository at this point in the history
…s for configuration options, when pylilnt-odoo was bumped in oca-addons-repo-template#198 this change was not taken into account
  • Loading branch information
theangryangel committed Aug 12, 2023
1 parent 450a800 commit 15b0d5e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/.pylintrc-mandatory.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@ load-plugins=pylint_odoo
score=n

[ODOOLINT]
{%- if odoo_version < 16 %}
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest_required_authors={{ org_name }}
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
valid_odoo_versions={{ odoo_version }}
{%- else %}
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest-required-authors={{ org_name }}
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
valid-odoo-versions={{ odoo_version }}
{%- endif %}

[MESSAGES CONTROL]
disable=all
Expand Down

0 comments on commit 15b0d5e

Please sign in to comment.