django/django

View on GitHub

Showing 1,784 of 2,092 total issues

Avoid too many return statements within this function.
Open

                return [
Severity: Major
Found in django/db/migrations/operations/models.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return [
    Severity: Major
    Found in django/db/migrations/operations/models.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return (
      Severity: Major
      Found in django/db/migrations/autodetector.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return [
        Severity: Major
        Found in django/db/migrations/operations/models.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return [
          Severity: Major
          Found in django/db/migrations/operations/models.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return (
            Severity: Major
            Found in django/db/migrations/autodetector.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return False
              Severity: Major
              Found in django/db/models/query_utils.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return obj
                Severity: Major
                Found in django/db/migrations/autodetector.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return (
                  Severity: Major
                  Found in django/db/migrations/autodetector.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return [
                    Severity: Major
                    Found in django/db/migrations/operations/models.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return True
                      Severity: Major
                      Found in django/db/models/query_utils.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return [
                        Severity: Major
                        Found in django/db/migrations/operations/models.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return datetime.datetime(parsed.year, parsed.month, parsed.day)
                          Severity: Major
                          Found in django/db/models/fields/__init__.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return []
                            Severity: Major
                            Found in django/db/models/fields/__init__.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return [
                              Severity: Major
                              Found in django/db/models/fields/__init__.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return str  # return empty string
                                Severity: Major
                                Found in django/db/models/fields/__init__.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return clause, used_joins if not require_outer else ()
                                  Severity: Major
                                  Found in django/db/models/sql/query.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return (
                                    Severity: Major
                                    Found in django/db/backends/sqlite3/_functions.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return field_type
                                      Severity: Major
                                      Found in django/db/backends/mysql/introspection.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return f"{dt.year:04d}-{dt.month:02d}-{dt.day:02d} 00:00:00"
                                        Severity: Major
                                        Found in django/db/backends/sqlite3/_functions.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language