gitlab-ci is working again, so... code is checked again... and pylint should no longer complain

This commit is contained in:
Christoph Stahl 2022-12-17 21:26:55 +01:00
parent 0dbac0aeee
commit 8ac523bc26
2 changed files with 3 additions and 3 deletions

View file

@ -2,13 +2,11 @@
import asyncio import asyncio
import os import os
from typing import Any from typing import Any
from typing import Optional
from typing import Tuple from typing import Tuple
import mutagen import mutagen
from ..entry import Entry from ..entry import Entry
from ..result import Result
from .source import available_sources from .source import available_sources
from .source import Source from .source import Source
@ -33,7 +31,7 @@ class FilesSource(Source):
def _get_file_list() -> list[str]: def _get_file_list() -> list[str]:
file_list = [] file_list = []
for path, dir, files in os.walk(self.dir): for path, _, files in os.walk(self.dir):
for file in files: for file in files:
if file.endswith(".cdg"): if file.endswith(".cdg"):
file_list.append( file_list.append(

View file

@ -49,6 +49,8 @@ class YoutubeSource(Source):
``yt-dlp``. Default is False. ``yt-dlp``. Default is False.
""" """
# pylint: disable=too-many-instance-attributes
def __init__(self, config: dict[str, Any]): def __init__(self, config: dict[str, Any]):
"""Create the source.""" """Create the source."""
super().__init__(config) super().__init__(config)