whylabs/whylogs-python

View on GitHub

Showing 3,918 of 3,918 total issues

Avoid too many return statements within this function.
Open

        return self._get_writer(WhyLabsBatchWriter).write(file, dest, **kwargs)
Severity: Major
Found in python/whylogs/api/writer/whylabs.py - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

          return MetricComponentMessage.newBuilder().setD((float) value).build();

      Avoid too many return statements within this method.
      Open

            return (T) result;

        Avoid too many return statements within this function.
        Open

                return _get_column_names(view)
        Severity: Major
        Found in python/whylogs/api/writer/whylabs_client.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return self._get_writer(WhyLabsReferenceWriter).write(
          Severity: Major
          Found in python/whylogs/api/writer/whylabs.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return x != value
            Severity: Major
            Found in python/whylogs/core/relations.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return lambda x: x >= value  # type: ignore
              Severity: Major
              Found in python/whylogs/core/metrics/condition_count_metric.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return lambda x: x != value  # type: ignore
                Severity: Major
                Found in python/whylogs/core/metrics/condition_count_metric.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return x >= value
                  Severity: Major
                  Found in python/whylogs/core/relations.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return not self._right(metric or x)  # type: ignore
                    Severity: Major
                    Found in python/whylogs/core/relations.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return
                      Severity: Major
                      Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return result
                        Severity: Major
                        Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return Predicate(Relation.search, value(), component=component), i
                          Severity: Major
                          Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return x <= value
                            Severity: Major
                            Found in python/whylogs/core/relations.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return result
                              Severity: Major
                              Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return result
                                Severity: Major
                                Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return Predicate(Relation.neq, value, component=component), i
                                  Severity: Major
                                  Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return Predicate(Relation._or, left=left, right=right, component=left._component), i
                                    Severity: Major
                                    Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return Predicate(Relation._and, left=left, right=right, component=left._component), i
                                      Severity: Major
                                      Found in python/whylogs/core/predicate_parser.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return lambda x: x > value  # type: ignore
                                        Severity: Major
                                        Found in python/whylogs/core/metrics/condition_count_metric.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language