saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

        return False
Severity: Major
Found in salt/modules/bcache.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return False
    Severity: Major
    Found in salt/modules/bcache.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return (
      Severity: Major
      Found in salt/modules/rh_service.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return 'service'
        Severity: Major
        Found in salt/modules/service.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return False
          Severity: Major
          Found in salt/modules/smtp.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return True
            Severity: Major
            Found in salt/modules/smtp.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return None, __standardize_result(False, msg,
              Severity: Major
              Found in salt/modules/dockercompose.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return __virtualname__
                Severity: Major
                Found in salt/modules/rh_service.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return False
                  Severity: Major
                  Found in salt/modules/smtp.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return False
                    Severity: Major
                    Found in salt/modules/smtp.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return (False, 'Cannot load rh_service module: OS not in {0}'.format(enable))
                      Severity: Major
                      Found in salt/modules/rh_service.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return result, None
                        Severity: Major
                        Found in salt/modules/dockercompose.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return (
                          Severity: Major
                          Found in salt/modules/rh_service.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return False
                            Severity: Major
                            Found in salt/modules/smtp.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return False
                              Severity: Major
                              Found in salt/modules/smtp.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return False
                                Severity: Major
                                Found in salt/modules/swift.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return __virtualname__
                                  Severity: Major
                                  Found in salt/modules/rh_service.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return compose_result, loaded_definition, None
                                    Severity: Major
                                    Found in salt/modules/dockercompose.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return _parse_settings_bond_4(opts, iface, bond_def)
                                      Severity: Major
                                      Found in salt/modules/debian_ip.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return __virtualname__
                                        Severity: Major
                                        Found in salt/modules/parted_partition.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language