Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7408 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 23
12818
3
thg 7 22
23195
2
thg 6 21
18611
0
thg 9 20
3747
0
thg 5 16
4174