Skip to content
Snippets Groups Projects
  • xmo-odoo's avatar
    44e7a693
    [IMP] flake8 base config · 44e7a693
    xmo-odoo authored
    
    The usage of `select=RST` apparently broke all local flake8 uses (which might
    be implicit e.g. used for linting in the simpler editors). Always excluding
    "addons" probably causes a similar problem.
    
    Remove the exclusion of "addons", and use "extend-select" for the selection of
    RST errors. This should play better with local configuration, or the lack of
    configuration (thus flake8 defaults). This means the exclusion of addons and
    the "blanking" of the default errors selection will have to be done in the CI 
    configuration, but that probably makes sense.
    
    closes odoo/odoo#82650
    
    Signed-off-by: default avatarRaphael Collet <rco@odoo.com>
    44e7a693
    History
    [IMP] flake8 base config
    xmo-odoo authored
    
    The usage of `select=RST` apparently broke all local flake8 uses (which might
    be implicit e.g. used for linting in the simpler editors). Always excluding
    "addons" probably causes a similar problem.
    
    Remove the exclusion of "addons", and use "extend-select" for the selection of
    RST errors. This should play better with local configuration, or the lack of
    configuration (thus flake8 defaults). This means the exclusion of addons and
    the "blanking" of the default errors selection will have to be done in the CI 
    configuration, but that probably makes sense.
    
    closes odoo/odoo#82650
    
    Signed-off-by: default avatarRaphael Collet <rco@odoo.com>