Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
7397 Weergaven

Is there any tool that a developer could use to check py and xml code for syntax errors, unexpected indents, unmatching external ids, tags not closed, and the like?

I mean, something that dig more into Odoo logic (i.e. identifying unmatched ids) other than dealing with syntax, without having to handle 500 errors when installing modules

Avatar
Annuleer
Beste antwoord

Hello Raffaele,


To check python you can use:

Pylint,

https://github.com/PyCQA/pylint

Pep8,

https://www.python.org/dev/peps/pep-0008/

Flake,

https://flake8.readthedocs.io/en/latest/

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
dec. 23
12815
3
jul. 22
23191
2
jun. 21
18608
0
sep. 20
3747
0
mei 16
4173