cleanup/rm pylint ignores
This commit is contained in:
		| @@ -1,5 +1,4 @@ | ||||
| #!/usr/bin/env python3.12 | ||||
| # pylint: disable=wrong-import-order, wrong-import-position bare-except, broad-exception-caught | ||||
|  | ||||
| import os | ||||
| import time | ||||
| @@ -15,8 +14,6 @@ from . import redis_cache | ||||
| from lyric_search import utils, notifier | ||||
| from lyric_search.constructors import LyricsResult | ||||
|  | ||||
|  | ||||
|  | ||||
| logger = logging.getLogger() | ||||
| log_level = logging.getLevelName(logger.level) | ||||
|  | ||||
| @@ -209,9 +206,6 @@ class Cache: | ||||
|             logging.critical("Cache storage error!") | ||||
|             traceback.print_exc() | ||||
|              | ||||
|  | ||||
|  | ||||
|     # pylint: disable=unused-argument | ||||
|     async def search(self, artist: str, song: str, **kwargs) -> Optional[LyricsResult]: | ||||
|         """ | ||||
|         Cache Search | ||||
| @@ -222,7 +216,6 @@ class Cache: | ||||
|             Optional[LyricsResult]: The result, if found - None otherwise. | ||||
|         """ | ||||
|         try: | ||||
|             # pylint: enable=unused-argument | ||||
|             artist: str = artist.strip().lower()  | ||||
|             song: str  = song.strip().lower() | ||||
|             input_track: str = f"{artist} - {song}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user