Lambda-School-Labs/Labs26-StorySquad-DS-TeamB

View on GitHub
project/app/utils/img_processing/google_api.py

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

                        for symbol in word.symbols:
                            symbol_confidences.append(symbol.confidence)
        # Calculate the overall confidence for the page
        page_confidence = sum(symbol_confidences) / len(symbol_confidences)
Severity: Major
Found in project/app/utils/img_processing/google_api.py - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if self.text_moderator.check_word(str(word).lower()):
                                flagged = True
                            for symbol in word.symbols:
    Severity: Major
    Found in project/app/utils/img_processing/google_api.py - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status