Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Zubax coding conventions for Python inherit the PEP8 almost verbatim, with the following list of minor deviations.

Deviations from PEP8

The maximum length of line is set to 120 characters. This is unlike PEP8, where the limit is set to 79 characters.

Trailing whitespaces are not allowed. PEP8 provides a weak recommendation to avoid whitespaces, too.

Usage of tabs is not allowed. If you're porting an existing codebase, replace all tabs with 4 spaces. PEP8 recommends to retain tabs when working with an existing codebase.

Language standards

All new code should be written for Python 3.5 or newer.

Support for older versions of Python is optional.

Recommended IDE

The recommended IDE for Python development is JetBrains PyCharm IDE.


  • No labels