youtranscript.py
File youtranscript.py
has 335 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
#!/usr/bin/python3
"""website that displays the transcripts of a youtube videos."""
import http.server
import json
import os
Missing whitespace after ',' Open
Open
def get_query_string_if_exists(self) -> Union[str,None]:
- Read upRead up
- Exclude checks
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'}]