flavors/django-graphql-geojson

View on GitHub

Showing 4 of 4 total issues

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

def geometry_resolver(attname, default_value, root, info, **args):
Severity: Minor
Found in graphql_geojson/resolver.py - About 35 mins to fix

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

    def feature_resolver(attname, default_value, root, info, **args):
    Severity: Minor
    Found in graphql_geojson/resolver.py - About 35 mins to fix

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

          def __init_subclass_with_meta__(cls, name=None, _meta=None,
      Severity: Minor
      Found in graphql_geojson/types/feature.py - About 35 mins to fix

        Avoid too many return statements within this function.
        Open

            return root
        Severity: Major
        Found in graphql_geojson/resolver.py - About 30 mins to fix
          Severity
          Category
          Status
          Source
          Language