django/django

View on GitHub

Showing 1,782 of 2,090 total issues

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 not any(x.endswith(".py") for x in filenames if x != "__init__.py")
    Severity: Major
    Found in django/db/migrations/questioner.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 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
          Severity: Major
          Found in django/utils/formats.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 _not_modified(request, response)
              Severity: Major
              Found in django/utils/cache.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 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 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 (
                        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 [
                                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 (
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language