Closed tmotyl closed 3 years ago
Hi @tmotyl
Thanks for reporting here. I don't know how to help here, but may be @moylop260 can give a hands ?
Regards,
Joël
pylint --load-plugins=pylint_odoo --long-help |grep manifest_version_format -A3
--manifest_version_format=<string>
Regex to check version format in manifest file. Use
"{valid_odoo_versions}" to check the parameter of
"valid_odoo_versions" [current:
({valid_odoo_versions})\.\d+\.\d+\.\d+$]
It is based on our guidelines:
Same case for another variable
pylint --load-plugins=pylint_odoo --long-help |grep "\-\-valid_odoo_versions" -A3
--valid_odoo_versions=<comma separated values>
List of valid odoo versions separated by a comma.
[current:
4.2,5.0,6.0,6.1,7.0,8.0,9.0,10.0,11.0,12.0,13.0]
Feel free to open a new PR improving this documentation, please
It would be great if it was documented how to configure custom regex for checking module version instead of default DFTL_MANIFEST_VERSION_FORMAT through .pylintrc
I've tried setting manifest_version_format, but it didn't help.