Refactoring

Parameters

  • max-nested-blocks (default: 5)

    Maximum number of nested blocks for function / method body

  • never-returning-functions (default: sys.exit,argparse.parse_error)

    Complete name of functions that never returns. When checking for inconsistent-return-statements if a never returning function is called then it will be considered as an explicit return statement and no message will be printed.