Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 570 Bytes

python-style.md

File metadata and controls

28 lines (17 loc) · 570 Bytes

Code style for Sugar Python development

General

  • Avoid lines longer than 79 characters.

Python

  • Make your code conform to pep8 and pyflakes

  • Use four spaces for indentation.

Libraries

  • New code should be written in Python 3, using GTK+ 3, GStreamer 1.0, etc

  • Use json, ...

  • Use sugargame when interfacing to pygames

Conventions