thavelick/youtranscript

View on GitHub
youtranscript.py

Summary

Maintainability
B
4 hrs
Test Coverage

File youtranscript.py has 335 lines of code (exceeds 250 allowed). Consider refactoring.
Open

#!/usr/bin/python3
"""website that displays the transcripts of a youtube videos."""
import http.server
import json
import os
Severity: Minor
Found in youtranscript.py - About 4 hrs to fix

    Missing whitespace after ','
    Open

        def get_query_string_if_exists(self) -> Union[str,None]:
    Severity: Minor
    Found in youtranscript.py by pep8

    Each comma, semicolon or colon should be followed by whitespace.

    Okay: [a, b]
    Okay: (3,)
    Okay: a[1:4]
    Okay: a[:4]
    Okay: a[1:]
    Okay: a[1:4:2]
    E231: ['a','b']
    E231: foo(bar,baz)
    E231: [{'a':'b'}]

    There are no issues that match your filters.

    Category
    Status