for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
class SomeClass: def some_method(self): """Do x and return foo."""
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.
def verify_order(order):
order = order.upper()
if order != 'C' and order != 'F':
raise TypeError("order must be 'C' or 'F', not %r" % (order,))
return order
def handle_order(shape, order):
order = verify_order(order)
if order == 'C':
return shape
else:
return tuple(reversed(shape))
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.