Format scanner

This commit is contained in:
Zoe Roux
2024-01-08 02:09:31 +01:00
parent 3d697fbcd0
commit 656dc493b8
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
- name: Run black
run: |
pip install black-with-tabs
pip3 install black-with-tabs
black . --check
transcoder:
+1 -1
View File
@@ -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
View File
@@ -0,0 +1,4 @@
[tool.black]
extend-exclude = '''
^/scanner/cache.py
'''