gitlab-ci is working again, so... code is checked again... and pylint should no longer complain
This commit is contained in:
parent
0dbac0aeee
commit
8ac523bc26
2 changed files with 3 additions and 3 deletions
|
@ -2,13 +2,11 @@
|
|||
import asyncio
|
||||
import os
|
||||
from typing import Any
|
||||
from typing import Optional
|
||||
from typing import Tuple
|
||||
|
||||
import mutagen
|
||||
|
||||
from ..entry import Entry
|
||||
from ..result import Result
|
||||
from .source import available_sources
|
||||
from .source import Source
|
||||
|
||||
|
@ -33,7 +31,7 @@ class FilesSource(Source):
|
|||
|
||||
def _get_file_list() -> list[str]:
|
||||
file_list = []
|
||||
for path, dir, files in os.walk(self.dir):
|
||||
for path, _, files in os.walk(self.dir):
|
||||
for file in files:
|
||||
if file.endswith(".cdg"):
|
||||
file_list.append(
|
||||
|
|
|
@ -49,6 +49,8 @@ class YoutubeSource(Source):
|
|||
``yt-dlp``. Default is False.
|
||||
"""
|
||||
|
||||
# pylint: disable=too-many-instance-attributes
|
||||
|
||||
def __init__(self, config: dict[str, Any]):
|
||||
"""Create the source."""
|
||||
super().__init__(config)
|
||||
|
|
Loading…
Add table
Reference in a new issue