thavelick/youtranscript

View on GitHub

Showing 10 of 10 total issues

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

    Rule doesn't have all its properties in alphabetical order.
    Open

    form {
    Severity: Minor
    Found in style.css by csslint

    Rule doesn't have all its properties in alphabetical order.
    Open

    input[type="text"] {
    Severity: Minor
    Found in style.css by csslint

    Rule doesn't have all its properties in alphabetical order.
    Open

    .search-page {
    Severity: Minor
    Found in style.css by csslint

    Using width with border can sometimes make elements larger than you expect.
    Open

        border: thin solid #564946;
    Severity: Minor
    Found in style.css by csslint

    Rule doesn't have all its properties in alphabetical order.
    Open

    input[type="submit"] {
    Severity: Minor
    Found in style.css by csslint

    Rule doesn't have all its properties in alphabetical order.
    Open

    h1 {
    Severity: Minor
    Found in style.css by csslint

    Rule doesn't have all its properties in alphabetical order.
    Open

    .transcript-page {
    Severity: Minor
    Found in style.css by csslint

    Rule doesn't have all its properties in alphabetical order.
    Open

    input {
    Severity: Minor
    Found in style.css by csslint

    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'}]
    Severity
    Category
    Status
    Source
    Language