MiniDigger/Hangar

View on GitHub
scripts/file_migration_b725a7c.py3

Summary

Maintainability
Test Coverage

Avoid deeply nested control flow statements.
Open

        if user_input == "yes":
          print("Deleted " + project_name)
          cursor.execute("DELETE FROM projects WHERE id = " + project_id)
        elif user_input == "no":
          print("Setting the Recommended Version ID to -1")
Severity: Major
Found in scripts/file_migration_b725a7c.py3 - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

            while True:
              user_input = input("Delete " + project_name + "? [yes/no] ")
              if user_input in ["yes", "no"]:
                break
              else:
    Severity: Major
    Found in scripts/file_migration_b725a7c.py3 - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status