Run hooks
This commit is contained in:
parent
18392e9126
commit
9835d90665
1
.gitignore
vendored
1
.gitignore
vendored
@ -159,4 +159,3 @@ cython_debug/
|
|||||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
# 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.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
|
0
bandcamp_search/__init__.py
Normal file
0
bandcamp_search/__init__.py
Normal file
@ -1,13 +1,13 @@
|
|||||||
import sys
|
import sys
|
||||||
from typing import cast
|
from typing import cast
|
||||||
|
|
||||||
from bandcamp_search.search import search
|
|
||||||
from bandcamp_search.models import (
|
from bandcamp_search.models import (
|
||||||
AlbumSearchResult,
|
AlbumSearchResult,
|
||||||
ArtistLabelSearchResult,
|
ArtistLabelSearchResult,
|
||||||
SearchType,
|
SearchType,
|
||||||
TrackSearchResult,
|
TrackSearchResult,
|
||||||
)
|
)
|
||||||
|
from bandcamp_search.search import search
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
query = sys.argv[1]
|
query = sys.argv[1]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from typing import Any, TypedDict
|
|
||||||
from enum import StrEnum
|
from enum import StrEnum
|
||||||
|
from typing import Any, TypedDict
|
||||||
|
|
||||||
|
|
||||||
class SearchType(StrEnum):
|
class SearchType(StrEnum):
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
|
||||||
from bandcamp_search.models import BandcampResponse, SearchType
|
from bandcamp_search.models import BandcampResponse, SearchType
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user