saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

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

    Avoid too many return statements within this function.
    Open

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

      Avoid too many return statements within this function.
      Open

              return {}
      Severity: Major
      Found in salt/pillar/vmware_pillar.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return {pillar_key: __salt__['redis.smembers'](minion_id)}
        Severity: Major
        Found in salt/pillar/redismod.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return {}
          Severity: Major
          Found in salt/pillar/redismod.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return {}
            Severity: Major
            Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return {}
              Severity: Major
              Found in salt/pillar/redismod.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return {pillar_key: __salt__['redis.zrange'](minion_id, 0,
                Severity: Major
                Found in salt/pillar/redismod.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return {}
                  Severity: Major
                  Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return {'ec2_tags': ec2_tags, 'ec2_tags_list': ec2_tags_list}
                    Severity: Major
                    Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return {}
                      Severity: Major
                      Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return salt.utils.dictupdate.merge(ngroup_pillar,
                        Severity: Major
                        Found in salt/pillar/file_tree.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return {}
                          Severity: Major
                          Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return {}
                            Severity: Major
                            Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return {}
                              Severity: Major
                              Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return {}
                                Severity: Major
                                Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return {}
                                  Severity: Major
                                  Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return {}
                                    Severity: Major
                                    Found in salt/pillar/ec2_pillar.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return err
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language