Closed antonag32 closed 11 months ago
We need to support the old pylint-odoo in order to support oldest Odoo version
I mean, Odoo<=13.0 using the current files Odoo>=14.0 using the new files
Or maybe we could use an extra command for old version of Odoo
I mean, pinning pre-commit-vauxoo package from .gitlab-ci.yaml
We need to enforce enabling the new checks only for newest Odoo's version
What do you think @luisg123v ?
I think we could take advantage (different commit) to update all the other packages too
I think we could take advantage (different commit) to update all the other packages too
Yes good idea, I will review that
We need to support the old pylint-odoo in order to support oldest Odoo version
I mean, Odoo<=13.0 using the current files Odoo>=14.0 using the new files
Or maybe we could use an extra command for old version of Odoo
I mean, pinning pre-commit-vauxoo package from .gitlab-ci.yaml
We need to enforce enabling the new checks only for newest Odoo's version
What do you think @luisg123v ?
Pylint can still lint python3.7 code, it just can't run on Python 3.7, however that option needs to be enabled through configuration. Maybe that could work.
Marked as draft since this needs further planning and I also need to test it on some projects.
All new checks found are marked as optional, tested on some projects and mandatory checks seem unaffected. Seems good for review and merge
Just to be clear it could be merged, but still not released, as the mass MRs with black autofixes are not finished yet
LGTM
Only check if the MRs with autofixes created from the bot were already merged please
@luisg123v
pylint v3.0.0 was released and pylint-odoo has been updated to work with it. A new major version of pylint-odoo has therefore been released.
BREAKING CHANGE: support for python < 3.7 (everything below py3.8) has been dropped since pylint no longer supports it upstream either.