saltstack/salt

View on GitHub

Showing 9,400 of 17,590 total issues

Avoid too many return statements within this function.
Open

                return False
Severity: Major
Found in salt/minion.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/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 auth
            Severity: Major
            Found in salt/crypt.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return key_str, ''
              Severity: Major
              Found in salt/crypt.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

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

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

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

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

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

                              Avoid too many return statements within this function.
                              Open

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

                                Avoid too many return statements within this function.
                                Open

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

                                  Avoid too many return statements within this function.
                                  Open

                                              return _add_file_stat(fnd)
                                  Severity: Major
                                  Found in salt/fileserver/roots.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return file_hash(load, fnd)
                                    Severity: Major
                                    Found in salt/fileserver/roots.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

                                                                return self.extract_aes(payload)
                                        Severity: Major
                                        Found in salt/crypt.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language