cleanup/rm pylint ignores

This commit is contained in:
2025-02-16 08:50:53 -05:00
parent 36975fa3f3
commit b24176b12f
17 changed files with 19 additions and 52 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3.12
# pylint: disable=bare-except, broad-exception-caught, wrong-import-order, wrong-import-position
import sys
sys.path.insert(1,'..')
@ -37,7 +36,6 @@ class Genius:
self.cache = cache.Cache()
self.redis_cache = redis_cache.RedisCache()
# pylint: disable=unused-argument
async def search(self, artist: str, song: str,
**kwargs) -> Optional[LyricsResult]:
"""
@ -49,7 +47,6 @@ class Genius:
Optional[LyricsResult]: The result, if found - None otherwise.
"""
try:
# pylint: enable=unused-argument
artist: str = artist.strip().lower()
song: str = song.strip().lower()
time_start: float = time.time()