Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

OCA Coding Standards and recommended IDEs

by
Xpansa Group, Oleg Kuryan
- 16/10/2015 12:34:00
Dear Contributors,

I would like to bring up discussion about coding standards and also recommended for developers IDEs. 
1. Regarding coding standards that is already well described here https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md 
2. Additionally I would like to suggest to OCA to standardized development environment. Of course, not to force everybody to work in some particular IDEs, but define list of supporting one. So my recommendations for IDEs based on experience in my company are:
- PyCharm
- Sublime Text

Note that point 2 also requires development of standard helper configuration for IDE/Editors validator. And most likely snippets. 
Fr example, for Sublime there is plugin https://github.com/dreadatour/Flake8Lint that adds pep8 validator. And also for snippets there is https://github.com/sotogarcia/sublime-odoo-snippets 

How about creating OCA forks that will help developers to quickly install necessary addons to one of supported editors and start writing code according to standards? Are there already plans on doing this or some work in progress?


///

Best Regards,
Oleg Kuryan

Technical Director, XPANSA Group | ERP, BI, E-commerce, Data Mining and DMS consulting
Xpansa has developed first full Odoo Android App called mERP. Download at https://play.google.com/merp
/// site  : xpansa.com
/// mail  : oleg.kuryan@xpansa.com
/// phone : +375293358638
/// skype : kuryan.oleg

Follow-Ups