Resolve "too many" branches & statements issue
Brought to you by:
jame,
waschbuesch
pylint found these issues with Too many branches or statements:
R: 37, 0: Too many branches (19/12) (too-many-branches)
R: 37, 0: Too many statements (68/50) (too-many-statements)
Too many branches (%s/%s) comes up when a function or method has too many branches, making it hard to follow.
Too many statements (%s/%s) comes up when a function or method has too many statements.It should then be split up into smaller functions / methods.
Line 37 is the start of the main() function. May need more investigation if they are still present after the rewrite for argparse and for python v3.