-
Notifications
You must be signed in to change notification settings - Fork 449
Coding Standards
Isabel Costa edited this page Jul 18, 2020
·
7 revisions
These are some of the standards we choose to follow in this project. These might change if we agree on standards for python development within the community.
We follow the Comments and Docstrings guidelines from this style guide.
We use type hints (PEP 484) which came with Python 3.5 to ease development experience and understand the function's signature better. For reference, this started with PR #354.
We use f-strings as referred in PEP 498 -- Literal String Interpolation.
Example:
my_name = "Jane Doe"
greetings = f"My name is {my_name}!"
Instead of using HTTP status codes hardcoded in literal format, we use HTTPStatus module codes.
Example:
from http import HTTPStatus
def ok_status_code:
return HTTPStatus.OK #200
Documentation
- Project Requirements
- Setup and Install
- Development
- Database Design
- Initial Docs
- Main Concepts
- Future ideas
- OSH Designs
GSoC Students
- 2018 - Isabel Costa
- GSoC All Final Reports