saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

            return data
    Severity: Major
    Found in salt/grains/disks.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

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

              Avoid too many return statements within this function.
              Open

                      return self.state.call_high(high, orchestration_jid)
              Severity: Major
              Found in salt/state.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

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

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

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

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

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

                              Avoid too many return statements within this function.
                              Open

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

                                Avoid too many return statements within this function.
                                Open

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

                                  Avoid too many return statements within this function.
                                  Open

                                      return val
                                  Severity: Major
                                  Found in salt/grains/core.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

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

                                      Avoid too many return statements within this function.
                                      Open

                                                  return getattr(float(cur_struct), _numeric_operand[numeric_compare.group(1)])(float(compare_value))
                                      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, ('Servers for haproxy beacon '
                                        Severity: Major
                                        Found in salt/beacons/haproxy.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language