- If the function definition line is too long, place each parameter on a new line.
Good example:
def long_function_name(
var_one,
var_two,
var_three,
var_four
) -> None:
Bad example:
def long_function_name(var_one, var_two,
var_three,var_four) -> None:
- Only use absolute imports.
Good example:
from app.module import Component
Bad example:
from .module import Component