krassowski/declarative-parser

View on GitHub
declarative_parser/parser.py

Summary

Maintainability
B
6 hrs
Test Coverage

File parser.py has 373 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import argparse
import textwrap
from collections import defaultdict
from copy import deepcopy
from traceback import print_exc
Severity: Minor
Found in declarative_parser/parser.py - About 4 hrs to fix

    Function __call__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            def __call__(self, parser, namespace, *args, **kwargs):
    Severity: Minor
    Found in declarative_parser/parser.py - About 35 mins to fix

      Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Minor
      Found in declarative_parser/parser.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status