mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Format scanner
This commit is contained in:
parent
3d697fbcd0
commit
656dc493b8
2
.github/workflows/coding-style.yml
vendored
2
.github/workflows/coding-style.yml
vendored
@ -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():
|
||||
|
4
scanner/pyproject.toml
Normal file
4
scanner/pyproject.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[tool.black]
|
||||
extend-exclude = '''
|
||||
^/scanner/cache.py
|
||||
'''
|
Loading…
x
Reference in New Issue
Block a user