* add configuration for `flake8[flake8-rst-docstring]` * enable docstring-related checks * fix invalid docstrings in odoo's core & `base` * fix a few more bits (mostly missing or incorrect `:param:` info fields) are out of scope for the lint but my editor catches closes odoo/odoo#74604 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
81 lines
1.1 KiB
INI
81 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-html2text
|
|
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]
|
|
exclude =
|
|
.git,
|
|
.tx,
|
|
addons,
|
|
debian,
|
|
doc,
|
|
setup,
|
|
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
|