django/django

View on GitHub

Showing 1,784 of 2,092 total issues

Avoid too many return statements within this function.
Open

            return serializer_cls(value)
Severity: Major
Found in django/db/migrations/serializer.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return value.strftime(format)
    Severity: Major
    Found in django/utils/formats.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return value.strftime(format)
      Severity: Major
      Found in django/utils/formats.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                            return False, project_state
        Severity: Major
        Found in django/db/migrations/executor.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return (found_create_model_migration or found_add_field_migration), after_state
          Severity: Major
          Found in django/db/migrations/executor.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return time_format(value, use_l10n=use_l10n)
            Severity: Major
            Found in django/utils/formats.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return date_format(value, use_l10n=use_l10n)
              Severity: Major
              Found in django/utils/formats.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return str(s).encode(encoding, errors)
                Severity: Major
                Found in django/utils/encoding.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return date_format(value, "DATETIME_FORMAT", use_l10n=use_l10n)
                  Severity: Major
                  Found in django/utils/formats.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return value
                    Severity: Major
                    Found in django/utils/formats.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

                                return DeconstructableSerializer(value)
                        Severity: Major
                        Found in django/db/migrations/serializer.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return RegexObject(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/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/operations/models.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return super().reduce(operation, app_label)
                                  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 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/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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language