Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
7410 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
jouluk. 23
12818
3
heinäk. 22
23195
2
kesäk. 21
18611
0
syysk. 20
3748
0
toukok. 16
4174