-
Notifications
You must be signed in to change notification settings - Fork 4
Style Guides
Robert Eng edited this page Jun 2, 2018
·
2 revisions
- We use YAPF, an automatic code formatter. We use the default PEP-8 setting.
- https://github.com/google/yapf
- cd to the donut directory with the Makefile (
~/donut
) and run withmake lint
.
- TODO
- Use Python 3 enums in backend, populate with Python script if necessary
- Use
VARCHAR
in SQL and back with stringenum
in Python'''constants.py''' from enum import Enum class Color(Enum): RED = 'Red' GREEN = 'Green'
- TODO
- TODO