saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

        return {'error': data}
Severity: Major
Found in salt/utils/aws.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return ret, requesturl
    Severity: Major
    Found in salt/utils/aws.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return __context__.get(cxkey)
      Severity: Major
      Found in salt/utils/botomod.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return vim.vm.device.VirtualE1000e()
        Severity: Major
        Found in salt/utils/vmware.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return None
          Severity: Major
          Found in salt/utils/aws.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return '{3}.{2}.{1}.{0}'.format(hip >> 24 & 255,
            Severity: Major
            Found in salt/utils/network.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return ret
              Severity: Major
              Found in salt/utils/network.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return {'minions': minions, 'missing': missing}
                Severity: Major
                Found in salt/utils/minions.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return {'Error': six.text_type(exc)}
                  Severity: Major
                  Found in salt/utils/http.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return update_config
                    Severity: Major
                    Found in salt/utils/configcomparer.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return ret
                      Severity: Major
                      Found in salt/utils/slack.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return {
                        Severity: Major
                        Found in salt/utils/http.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return ret
                          Severity: Major
                          Found in salt/utils/http.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                                        return {'minions': [], 'missing': []}
                            Severity: Major
                            Found in salt/utils/minions.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return result
                              Severity: Major
                              Found in salt/utils/namecheap.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return certifi.where()
                                Severity: Major
                                Found in salt/utils/http.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return config
                                  Severity: Major
                                  Found in salt/utils/configcomparer.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return ret
                                    Severity: Major
                                    Found in salt/utils/http.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return {'minions': [], 'missing': []}
                                      Severity: Major
                                      Found in salt/utils/minions.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                            return ret
                                        Severity: Major
                                        Found in salt/utils/http.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language