django/django

View on GitHub

Showing 2,102 of 2,102 total issues

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

    def contribute_to_class(self, cls, name, private_only=False, **kwargs):
Severity: Minor
Found in django/db/models/fields/related.py - About 35 mins to fix

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

        def validate(self, model, instance, exclude=None, using=DEFAULT_DB_ALIAS):
    Severity: Minor
    Found in django/db/models/constraints.py - About 35 mins to fix

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

          def get_choices(
      Severity: Minor
      Found in django/db/models/fields/__init__.py - About 35 mins to fix

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

            def resolve_expression(
        Severity: Minor
        Found in django/db/models/functions/datetime.py - About 35 mins to fix

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

              def setup_joins(
          Severity: Minor
          Found in django/db/models/sql/query.py - About 35 mins to fix

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

                def sql_flush(self, style, tables, *, reset_sequences=False, allow_cascade=False):
            Severity: Minor
            Found in django/db/backends/postgresql/operations.py - About 35 mins to fix

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

                  def datetime_extract_sql(self, lookup_type, sql, params, tzname):
              Severity: Minor
              Found in django/db/backends/mysql/operations.py - About 35 mins to fix

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

                    def datetime_trunc_sql(self, lookup_type, sql, params, tzname):
                Severity: Minor
                Found in django/db/backends/mysql/operations.py - About 35 mins to fix

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

                          def copy_to(self, file, table, *args, **kwargs):
                  Severity: Minor
                  Found in django/db/backends/postgresql/base.py - About 35 mins to fix

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

                        def _alter_column_collation_sql(
                    Severity: Minor
                    Found in django/db/backends/postgresql/schema.py - About 35 mins to fix

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

                          def on_conflict_suffix_sql(self, fields, on_conflict, update_fields, unique_fields):
                      Severity: Minor
                      Found in django/db/backends/sqlite3/operations.py - About 35 mins to fix

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

                            def time_trunc_sql(self, lookup_type, sql, params, tzname=None):
                        Severity: Minor
                        Found in django/db/backends/mysql/operations.py - About 35 mins to fix

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

                              def datetime_extract_sql(self, lookup_type, sql, params, tzname):
                          Severity: Minor
                          Found in django/db/backends/sqlite3/operations.py - About 35 mins to fix

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

                                def on_conflict_suffix_sql(self, fields, on_conflict, update_fields, unique_fields):
                            Severity: Minor
                            Found in django/db/backends/mysql/operations.py - About 35 mins to fix

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

                                  def time_trunc_sql(self, lookup_type, sql, params, tzname=None):
                              Severity: Minor
                              Found in django/db/backends/sqlite3/operations.py - About 35 mins to fix

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

                                    def datetime_trunc_sql(self, lookup_type, sql, params, tzname):
                                Severity: Minor
                                Found in django/db/backends/sqlite3/operations.py - About 35 mins to fix

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

                                      def _unique_supported(
                                  Severity: Minor
                                  Found in django/db/backends/base/schema.py - About 35 mins to fix

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

                                        def sql_flush(self, style, tables, *, reset_sequences=False, allow_cascade=False):
                                    Severity: Minor
                                    Found in django/db/backends/base/operations.py - About 35 mins to fix

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

                                          def _execute_allow_fail_statements(
                                      Severity: Minor
                                      Found in django/db/backends/oracle/creation.py - About 35 mins to fix

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

                                            def _output_type_handler(cursor, name, defaultType, length, precision, scale):
                                        Severity: Minor
                                        Found in django/db/backends/oracle/base.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language