django/django

View on GitHub

Showing 2,092 of 2,092 total issues

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

    def resolve_expression(
Severity: Minor
Found in django/contrib/postgres/search.py - About 35 mins to fix

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

    def add_message(request, level, message, extra_tags="", fail_silently=False):
    Severity: Minor
    Found in django/contrib/messages/api.py - About 35 mins to fix

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

          def __init__(self, lhs, connector, rhs, config, output_field=None):
      Severity: Minor
      Found in django/contrib/postgres/search.py - About 35 mins to fix

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

        def label_for_field(name, model, model_admin=None, return_attr=False, form=None):
        Severity: Minor
        Found in django/contrib/admin/utils.py - About 35 mins to fix

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

              def _store(self, messages, response, remove_oldest=True, *args, **kwargs):
          Severity: Minor
          Found in django/contrib/messages/storage/cookie.py - About 35 mins to fix

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

                def __init__(self, lhs, connector, rhs, config, output_field=None):
            Severity: Minor
            Found in django/contrib/postgres/search.py - About 35 mins to fix

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

                  def get_formset_kwargs(self, request, obj, inline, prefix):
              Severity: Minor
              Found in django/contrib/admin/options.py - About 35 mins to fix

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

                            def user_deleted_form(request, obj, formset, index, inline):
                Severity: Minor
                Found in django/contrib/admin/options.py - About 35 mins to fix

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

                      def __init__(
                  Severity: Minor
                  Found in django/contrib/postgres/search.py - About 35 mins to fix

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

                        def __init__(self, base_field, size, *, remove_trailing_nulls=False, **kwargs):
                    Severity: Minor
                    Found in django/contrib/postgres/forms/array.py - About 35 mins to fix

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

                          def __init__(self, y, x, output_field=None, filter=None, default=None):
                      Severity: Minor
                      Found in django/contrib/postgres/aggregates/statistics.py - About 35 mins to fix

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

                            def __init__(self, verbose_name, is_stacked, attrs=None, choices=()):
                        Severity: Minor
                        Found in django/contrib/admin/widgets.py - About 35 mins to fix

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

                              def __init__(self, y, x, sample=False, filter=None, default=None):
                          Severity: Minor
                          Found in django/contrib/postgres/aggregates/statistics.py - About 35 mins to fix

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

                                def __init__(self, field, admin_site, attrs=None, choices=(), using=None):
                            Severity: Minor
                            Found in django/contrib/admin/widgets.py - About 35 mins to fix

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

                              def double_output(func, argtypes, errcheck=False, strarg=False, cpl=False):
                              Severity: Minor
                              Found in django/contrib/gis/gdal/prototypes/generation.py - About 35 mins to fix

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

                                    def __init__(self, func_name, *, restype=None, errcheck=None, argtypes=None):
                                Severity: Minor
                                Found in django/contrib/gis/geos/libgeos.py - About 35 mins to fix

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

                                      def __init__(self, expression, x, y, z=0.0, **extra):
                                  Severity: Minor
                                  Found in django/contrib/gis/db/models/functions.py - About 35 mins to fix

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

                                        def buffer_with_style(
                                    Severity: Minor
                                    Found in django/contrib/gis/geos/geometry.py - About 35 mins to fix

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

                                          def data(self, data=None, offset=None, size=None, shape=None, as_memoryview=False):
                                      Severity: Minor
                                      Found in django/contrib/gis/gdal/raster/band.py - About 35 mins to fix

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

                                        def kmz(request, label, model, field_name=None, using=DEFAULT_DB_ALIAS):
                                        Severity: Minor
                                        Found in django/contrib/gis/sitemaps/views.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language