Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 554 Bytes

checklist.md

File metadata and controls

31 lines (25 loc) · 554 Bytes

Check Your Code Against the Following Points

  1. 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:
  1. Only use absolute imports.

Good example:

from app.module import Component

Bad example:

from .module import Component