跳至內容
選單
此問題已被標幟
1 回覆
7414 瀏覽次數

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

頭像
捨棄
最佳答案

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/

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
12月 23
12818
3
7月 22
23196
2
6月 21
18614
0
9月 20
3750
0
5月 16
4176