saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

                                return False, ('Configuration for inotify beacon '
Severity: Major
Found in salt/beacons/inotify.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return _compare(cmp_value, cur_struct[cmp_key])
    Severity: Major
    Found in salt/beacons/napalm_beacon.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return False, ('Averages configuration for load beacon '
      Severity: Major
      Found in salt/beacons/load.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

                    return cur_cmp == cur_struct
            Severity: Major
            Found in salt/beacons/napalm_beacon.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return True, 'Valid beacon configuration'
              Severity: Major
              Found in salt/beacons/haproxy.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                            return False, ('Configuration for inotify beacon '
                Severity: Major
                Found in salt/beacons/inotify.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return found
                  Severity: Major
                  Found in salt/beacons/napalm_beacon.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

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

                      Avoid too many return statements within this function.
                      Open

                              return cur_cmp == cur_struct
                      Severity: Major
                      Found in salt/beacons/napalm_beacon.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

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

                          Avoid too many return statements within this function.
                          Open

                                              return found
                          Severity: Major
                          Found in salt/beacons/napalm_beacon.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return True, 'Valid beacon configuration'
                            Severity: Major
                            Found in salt/beacons/network_settings.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                                  return False, ('Averages configuration for load beacon: '
                              Severity: Major
                              Found in salt/beacons/load.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                            return False, ('Configuration for inotify beacon '
                                Severity: Major
                                Found in salt/beacons/inotify.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return True, 'Valid beacon configuration'
                                  Severity: Major
                                  Found in salt/beacons/inotify.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                            return False, ('Configuration for load beacon: '
                                    Severity: Major
                                    Found in salt/beacons/load.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return True, 'Valid beacon configuration'
                                      Severity: Major
                                      Found in salt/beacons/adb.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                                return False, ('Configuration for inotify beacon must '
                                        Severity: Major
                                        Found in salt/beacons/inotify.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language