saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

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

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

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

              Avoid too many return statements within this function.
              Open

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

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

                                return b'salt' in fp_.read()
                    Severity: Major
                    Found in salt/utils/master.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 None
                        Severity: Major
                        Found in salt/utils/event.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 __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 _linux_remotes_on(port, which_end)
                              Severity: Major
                              Found in salt/utils/network.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 '{0}.{1}.{2}.{3}'.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 _openbsd_remotes_on(port, which_end)
                                      Severity: Major
                                      Found in salt/utils/network.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return _windows_remotes_on(port, which_end)
                                        Severity: Major
                                        Found in salt/utils/network.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language