ssrcli/cli.py

Summary

Maintainability
A
1 hr
Test Coverage

Function _build has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def _build(self):
        self.parser = argparse.ArgumentParser(prog='ssrcli', description='SSR client with shell interface')

        action = self.parser.add_mutually_exclusive_group(required=True)
        action.add_argument('-V', '--version', action='version', version='%(prog)s {}'.format(config.VERSION))
Severity: Minor
Found in ssrcli/cli.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status