mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-30 10:55:16 -04:00
Format scanner
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
||||
|
||||
- name: Run black
|
||||
run: |
|
||||
pip install black-with-tabs
|
||||
pip3 install black-with-tabs
|
||||
black . --check
|
||||
|
||||
transcoder:
|
||||
|
||||
@@ -62,7 +62,7 @@ class TheXem:
|
||||
map = await self.get_map(provider)
|
||||
for [id, v] in map.items():
|
||||
# Only the first element is a string (the show name) so we need to ignore the type hint
|
||||
master_show_name: str = v[0] # type: ignore
|
||||
master_show_name: str = v[0] # type: ignore
|
||||
for x in v[1:]:
|
||||
[(name, season)] = x.items()
|
||||
if show_name.lower() == name.lower():
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
[tool.black]
|
||||
extend-exclude = '''
|
||||
^/scanner/cache.py
|
||||
'''
|
||||
Reference in New Issue
Block a user