KarrLab/obj_tables

View on GitHub

Showing 425 of 542 total issues

Avoid too many return statements within this function.
Open

        return match_val
Severity: Major
Found in obj_tables/math/expression.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                        return (datetime_value.date(), None)
    Severity: Major
    Found in obj_tables/core.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return (sub_attrs, data, errors, objects)
      Severity: Major
      Found in obj_tables/io.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                            return False
        Severity: Major
        Found in obj_tables/core.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return (value, InvalidAttribute(self, ['String must be a valid date']))
          Severity: Major
          Found in obj_tables/core.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return (value, InvalidAttribute(self, ['Value must be an instance of `datetime`']))
            Severity: Major
            Found in obj_tables/core.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return (value, InvalidAttribute(self, ['Value must be an instance of `date`']))
              Severity: Major
              Found in obj_tables/core.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return (time(hour, minutes, seconds), None)
                Severity: Major
                Found in obj_tables/core.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                      return False
                  Severity: Major
                  Found in obj_tables/core.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return (None, InvalidAttribute(self, ['Multiple matching objects with primary attribute = {}'.format(value)]))
                    Severity: Major
                    Found in obj_tables/core.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                          return (value, InvalidAttribute(self, ['Time must be 0:0:0.0']))
                      Severity: Major
                      Found in obj_tables/core.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return (value, InvalidAttribute(self, ['Number must be a valid time']))
                        Severity: Major
                        Found in obj_tables/core.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return (None, InvalidAttribute(self, ['Unable to deserialize an instance of {}'.format(value.__class__.__name__)]))
                          Severity: Major
                          Found in obj_tables/core.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return (None, InvalidAttribute(self, ['Unable to deserialize an instance of {}'.format(value.__class__.__name__)]))
                            Severity: Major
                            Found in obj_tables/core.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return (date.fromordinal(int_value + date(1900, 1, 1).toordinal() - 1), None)
                              Severity: Major
                              Found in obj_tables/core.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                return (value, InvalidAttribute(self, ['String must be a valid time']))
                                Severity: Major
                                Found in obj_tables/core.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return (value, InvalidAttribute(self, ['Value must be an instance of `time`']))
                                  Severity: Major
                                  Found in obj_tables/core.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                            return False
                                    Severity: Major
                                    Found in obj_tables/core.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return (value, InvalidAttribute(self, ['String must be a valid datetime']))
                                      Severity: Major
                                      Found in obj_tables/core.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return True
                                        Severity: Major
                                        Found in obj_tables/core.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language