conan-io/conan

View on GitHub

Showing 364 of 2,550 total issues

Avoid too many return statements within this function.
Open

            return "Panther"
Severity: Major
Found in conans/client/tools/oss.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return '/mnt' + path[0:2].lower() + path[2:]
    Severity: Major
    Found in conans/client/tools/win.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                          return conanfile_path, status, selected_remote, ref
      Severity: Major
      Found in conans/client/graph/proxy.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return -1
        Severity: Major
        Found in conans/model/version.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return None
          Severity: Major
          Found in conan/tools/build/stdcpp_library.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return "/Qm32" if str(compiler_base) == "Visual Studio" else "-m32"
            Severity: Major
            Found in conan/tools/_compilers.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return ["98", "gnu98", "11", "gnu11", "14", "gnu14", "17", "gnu17", "20", "gnu20", "23", "gnu23"]
              Severity: Major
              Found in conan/tools/build/cppstd.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                    return False
                Severity: Major
                Found in conan/tools/scm/__init__.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return {"vs_runtimes": config_dict}
                  Severity: Major
                  Found in conan/tools/cmake/toolchain/blocks.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return cmd
                    Severity: Major
                    Found in conan/tools/env/environment.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return ["98", "gnu98", "11", "gnu11", "14", "gnu14", "17", "gnu17", "20", "gnu20", "23", "gnu23"]
                      Severity: Major
                      Found in conan/tools/build/cppstd.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return ["98", "gnu98", "11", "gnu11", "14", "gnu14", "17", "gnu17"]
                        Severity: Major
                        Found in conan/tools/build/cppstd.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return compiler
                          Severity: Major
                          Found in conan/tools/qbs/qbsprofile.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return ["98", "gnu98", "11", "gnu11", "14", "gnu14", "17", "gnu17", "20", "gnu20"]
                            Severity: Major
                            Found in conan/tools/build/cppstd.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return "/Qm64" if str(compiler_base) == "Visual Studio" else "-m64"
                              Severity: Major
                              Found in conan/tools/_compilers.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return {"e2k-v2": "-march=elbrus-v2",
                                Severity: Major
                                Found in conan/tools/_compilers.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return "MinGW Makefiles"
                                  Severity: Major
                                  Found in conan/tools/cmake/toolchain/toolchain.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return '-maix64'
                                    Severity: Major
                                    Found in conan/tools/_compilers.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return "/Qm32" if the_os == "Windows" else "-m32"
                                      Severity: Major
                                      Found in conan/tools/_compilers.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return ""
                                        Severity: Major
                                        Found in conan/tools/_compilers.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language