Skip to content

pylint configuration

Moisés López - https://www.vauxoo.com/ edited this page Oct 25, 2022 · 4 revisions
* deprecated-modules: datetime,dateutil,openerp
* good-names:
        "_",  # odoo.tools.translate._
        "cr",  # odoo common use of cursor variable
        "uid",  # odoo common use of user_id variable
        "_logger",  # odoo common use of logging
        "maxDiff",  # unittest variable
        "o",
        "e",
        "i",
        "k",
        "v",

    # pre-migration.py:1: [C0103(invalid-name), ] Module name "pre-migration" doesn't conform to snake_case naming style
    # linter.config.module_naming_style += ("(pre\-|post\)(migration)\.py")
* invalid-name
[BASIC]
class-naming-style=PascalCase
Clone this wiki locally