Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 509 Bytes

python-style.md

File metadata and controls

28 lines (17 loc) · 509 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 using Gtk3, Gst-1.0, etc.

  • Use json, ...

  • Use sugargames when interfacing to pygames

Conventions