Run hooks

This commit is contained in:
IamTheFij 2024-10-15 09:15:35 -07:00
parent 18392e9126
commit 9835d90665
5 changed files with 3 additions and 5 deletions

1
.gitignore vendored
View File

@ -159,4 +159,3 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

View File

View File

@ -1,13 +1,13 @@
import sys
from typing import cast
from bandcamp_search.search import search
from bandcamp_search.models import (
AlbumSearchResult,
ArtistLabelSearchResult,
SearchType,
TrackSearchResult,
)
from bandcamp_search.search import search
if __name__ == "__main__":
query = sys.argv[1]

View File

@ -1,5 +1,5 @@
from typing import Any, TypedDict
from enum import StrEnum
from typing import Any, TypedDict
class SearchType(StrEnum):
@ -49,7 +49,7 @@ class AlbumSearchResult(SearchResult):
class AutoCompleteResult(TypedDict):
results: list[AlbumSearchResult|ArtistLabelSearchResult|TrackSearchResult]
results: list[AlbumSearchResult | ArtistLabelSearchResult | TrackSearchResult]
stat_params_for_tag: str
time_ms: int

View File

@ -1,6 +1,5 @@
import requests
from bandcamp_search.models import BandcampResponse, SearchType