updated qodana profile
This commit is contained in:
@@ -16,6 +16,7 @@ def search(_str: str, _type: str = 'all') -> dict:
|
|||||||
type_ = search_result.best.type
|
type_ = search_result.best.type
|
||||||
best = search_result.best.result
|
best = search_result.best.result
|
||||||
|
|
||||||
|
# print(search_result)
|
||||||
if type_ == 'track':
|
if type_ == 'track':
|
||||||
artists = ''
|
artists = ''
|
||||||
if best.artists:
|
if best.artists:
|
||||||
@@ -59,9 +60,11 @@ def search(_str: str, _type: str = 'all') -> dict:
|
|||||||
_tracks += volume
|
_tracks += volume
|
||||||
_i = 1
|
_i = 1
|
||||||
for track in _tracks:
|
for track in _tracks:
|
||||||
|
print(track)
|
||||||
tracks[f"track_{_i}"] = {
|
tracks[f"track_{_i}"] = {
|
||||||
"id": track.id,
|
"id": track.id,
|
||||||
"tittle": track.title
|
"tittle": track.title,
|
||||||
|
|
||||||
}
|
}
|
||||||
_i += 1
|
_i += 1
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ bootstrap: |
|
|||||||
rm -rf .idea
|
rm -rf .idea
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
profile:
|
profile:
|
||||||
name: qodana.starter
|
name: qodana.recommended
|
||||||
|
|||||||
Reference in New Issue
Block a user