Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 18, 2023
1 parent f668f6d commit 8b93b1e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion podcast_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def populateDatabase(url: str, conn: Connection) -> None:


if __name__ == "__main__":

try:
from dotenv import load_dotenv

Expand Down
2 changes: 0 additions & 2 deletions src/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def _getDataPer(
dt = DataType(dataType)
retDict = {}
for time in timeList:

data = {
"number": self.getNumberOfItems(payload={key: time}),
"artist": self.getPopularArtists(payload={key: time}),
Expand Down Expand Up @@ -242,7 +241,6 @@ def _itemInTimeslot_Daytime(self, spec: str, item: Dict[str, str]) -> int:
def _itemInTimeslot_Weekday(
self, spec: Union[str, int], item: Dict[str, str]
) -> int:

if isinstance(spec, str):
intSpec = {
"monday": 0,
Expand Down
3 changes: 0 additions & 3 deletions src/extendedAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def _getDataPer(
dt = DataType(dataType)
retDict = {}
for time in timeList:

data = {
"number": self.getNumberOfItems(payload={key: time}),
"artist": self.getPopularArtists(payload={key: time}),
Expand Down Expand Up @@ -269,7 +268,6 @@ def _itemInTimeslot_Daytime(self, spec: str, item: Dict[str, str]) -> int:
def _itemInTimeslot_Weekday(
self, spec: Union[str, int], item: Dict[str, str]
) -> int:

if isinstance(spec, str):
intSpec = {
"monday": 0,
Expand All @@ -293,7 +291,6 @@ def _itemIsMedia(self, media: str, item: Dict[str, str]) -> int:
return isMedia

def _itemHasKeyword(self, keyword: str, item: Dict[str, str]) -> int:

# Check because there is some data missing/corrupted data
if (
not item["master_metadata_album_artist_name"]
Expand Down

0 comments on commit 8b93b1e

Please sign in to comment.