Files
odoo_source/setup.cfg
T
xmo-odoo 44e7a693f0 [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>
2022-01-14 15:44:52 +00:00

79 lines
1.1 KiB
INI

[install]
optimize=1
[bdist_rpm]
no-autoreq = yes
install-script = setup/redhat/install.sh
post-install = setup/redhat/postinstall.sh
requires =
sassc
python(abi) >= 3.8
python3-babel
python3-decorator
python3-docutils
python3-freezegun
python3-gevent
python3-greenlet
python3-idna
python3-jinja2
python3-lxml
python3-markupsafe
python3-mock
python3-num2words
python3-ofxparse
python3-passlib
python3-pillow
python3-psutil
python3-psycopg2
python3-polib
python3-pydot
python3-PyPDF2
python3-pyOpenSSL
python3-pyserial
python3-dateutil
python3-pytz
python3-pyusb
python3-qrcode
python3-reportlab
python3-requests
python3-six
python3-stdnum
python3-vobject
python3-werkzeug
python3-xlwt
python3-xlrd
python3-zeep
[flake8]
extend-exclude =
.git,
.tx,
debian,
doc,
setup,
extend-select =
RST
rst-directives =
function,
attribute,
seealso,
deprecated,
versionadded,
versionchanged,
todo
rst-roles =
ref,
mod,
class,
py:meth,
meth,
attr,
data,
const,
func,
exc,
term,
samp,
program