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/states/boto_iam.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

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

      Avoid too many return statements within this function.
      Open

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

        Avoid too many return statements within this function.
        Open

            return _success(ret, ret['changes']['removed'])
        Severity: Major
        Found in salt/states/lxd_profile.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

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

              Avoid too many return statements within this function.
              Open

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

                Avoid too many return statements within this function.
                Open

                        return _success(ret, msg)
                Severity: Major
                Found in salt/states/lxd_container.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return _unchanged(
                  Severity: Major
                  Found in salt/states/lxd_container.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return _unchanged(
                    Severity: Major
                    Found in salt/states/lxd_container.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

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

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

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

                              Avoid too many return statements within this function.
                              Open

                                      return _unchanged(ret, ret['changes']['frozen'])
                              Severity: Major
                              Found in salt/states/lxd_container.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return _success(ret, ret['changes']['migrated'])
                                Severity: Major
                                Found in salt/states/lxd_container.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

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

                                      Avoid too many return statements within this function.
                                      Open

                                              return _error(ret, six.text_type(e))
                                      Severity: Major
                                      Found in salt/states/lxd_container.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return ret
                                        Severity: Major
                                        Found in salt/states/user.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language