cleanup/rm pylint ignores
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env python3.12
|
||||
# pylint: disable=bare-except, broad-exception-caught, invalid-name
|
||||
|
||||
import traceback
|
||||
import logging
|
||||
@@ -8,15 +7,13 @@ import regex
|
||||
from aiohttp import ClientSession, ClientTimeout
|
||||
from constants import Constants
|
||||
|
||||
|
||||
|
||||
class LastFM:
|
||||
"""LastFM Endpoints"""
|
||||
def __init__(self, noInit: Optional[bool] = False) -> None: # pylint: disable=unused-argument
|
||||
def __init__(self,
|
||||
noInit: Optional[bool] = False) -> None:
|
||||
self.creds = Constants().LFM_CREDS
|
||||
self.api_base_url: str = "https://ws.audioscrobbler.com/2.0/?method="
|
||||
|
||||
|
||||
async def search_artist(self, artist: Optional[str] = None) -> dict:
|
||||
"""Search LastFM for an artist"""
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user