Coding Standards
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.
#
DocstringsWe follow the Comments and Docstrings guidelines from this style guide.
#
Type HintsWe 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.
#
String interpolationWe use f-strings as referred in PEP 498 -- Literal String Interpolation.
Example:
#
HTTP Status codesInstead of using HTTP status codes hardcoded in literal format, we use HTTPStatus module codes.
Example: