[IMP] flake8 base config

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: Raphael Collet <rco@odoo.com>
This commit is contained in:
xmo-odoo
2022-01-14 15:44:52 +00:00
committed by GitHub
parent d826b0ac7a
commit 44e7a693f0
+2 -3
View File
@@ -46,14 +46,13 @@ requires =
python3-zeep
[flake8]
exclude =
extend-exclude =
.git,
.tx,
addons,
debian,
doc,
setup,
select =
extend-select =
RST
rst-directives =
function,