[PEP-8] - Style Guide for Python Code

Hello!
Guys just want to ask do you have some python code conventions?

I am newcomer in erpnext end just setup my environment and research code.

Do you think about some StyleCop ?

I see a lot of errors.

1 Like

Sorry could not resist :slight_smile:

Btw: PEP8 is okay with tabs in an existing project that has tabs

3 Likes

:grinning::grin::grinning::grinning::grin::grinning::grinning::grin::grinning::grinning::grin::grinning: ))))))))))

I worry not only about the tabs and spaces) there are many other errors, for example

  • can’t find reference
  • access to protected member _

:kissing_heart::nerd:

1 Like

Those could be because the modules are not loaded.

_ is a well accepted standard for marking translated strings