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/cloud/clouds/vmware.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return ret
    Severity: Major
    Found in salt/cloud/clouds/cloudstack.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return data
      Severity: Major
      Found in salt/cloud/clouds/nova.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return False
        Severity: Major
        Found in salt/cloud/clouds/azurearm.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return False
          Severity: Major
          Found in salt/cloud/clouds/linode.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return {'keys': {data['name']: data['key']}}
            Severity: Major
            Found in salt/cloud/clouds/joyent.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return __utils__['cloud.wait_for_passwd'](**kwargs) is True
              Severity: Major
              Found in salt/cloud/clouds/saltify.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return data
                Severity: Major
                Found in salt/cloud/clouds/parallels.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return ret
                  Severity: Major
                  Found in salt/cloud/clouds/linode.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return ret
                    Severity: Major
                    Found in salt/cloud/clouds/proxmox.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return ret
                      Severity: Major
                      Found in salt/cloud/clouds/msazure.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return {'Error': 'Unable to start {0}, command timed out'.format(name)}
                        Severity: Major
                        Found in salt/cloud/clouds/proxmox.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return False
                          Severity: Major
                          Found in salt/cloud/clouds/saltify.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return True
                            Severity: Major
                            Found in salt/cloud/clouds/saltify.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return __utils__['cloud.wait_for_winrm'](**kwargs) is not None
                              Severity: Major
                              Found in salt/cloud/clouds/saltify.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                return provider_details
                                Severity: Major
                                Found in salt/cloud/clouds/azurearm.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return False
                                  Severity: Major
                                  Found in salt/cloud/clouds/saltify.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                                return {'Error': 'Unable to move disk {0}, command timed out'.format(
                                    Severity: Major
                                    Found in salt/cloud/clouds/proxmox.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

                                                return _rpc_file_list(dev)
                                        Severity: Major
                                        Found in salt/proxy/junos.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language