fix var name consistency error

change var name to reach human friendly
add type hinting
PEP8 formatting
This commit is contained in:
naughtyGitCat
2022-09-30 16:43:15 +08:00
parent 50ef41ee50
commit 78298495ac
3 changed files with 30 additions and 18 deletions

View File

@@ -24,7 +24,7 @@ from .tmdb import Tmdb
from .imdb import Imdb
def search(number, sources: str=None, **kwargs):
def search(number, sources: str = None, **kwargs):
""" 根据`番号/电影`名搜索信息
:param number: number/name depends on type