Skip to content

Commit 0ff332a

Browse files
authored
Merge pull request #322 from C0rn3j/touchup3
Remove Python 2 cruft
2 parents b04d33d + 86d411c commit 0ff332a

27 files changed

+1
-59
lines changed

examples/pkce_example.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
#
53
# This program is free software: you can redistribute it and/or modify

examples/simple.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
#
53
# This program is free software: you can redistribute it and/or modify

examples/transfer_favorites.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
#
53
# This program is free software: you can redistribute it and/or modify

tests/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers

tests/conftest.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland
@@ -17,8 +15,6 @@
1715
# You should have received a copy of the GNU Lesser General Public License
1816
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1917

20-
from __future__ import print_function
21-
2218
import logging
2319
from abc import ABC
2420
from contextlib import suppress

tests/cover.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tests/test_album.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tests/test_artist.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tests/test_genres.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2020 morguldir
53
# Copyright (C) 2014 Thomas Amland

tests/test_media.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tests/test_mix.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tests/test_page.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2022 morguldir
53
#

tests/test_playlist.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tests/test_session.py

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland
@@ -17,8 +15,6 @@
1715
# You should have received a copy of the GNU Lesser General Public License
1816
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1917

20-
from __future__ import print_function
21-
2218
import pytest
2319
import requests
2420

tests/test_user.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tidalapi/__init__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42

53
from .album import Album # noqa: F401

tidalapi/album.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tidalapi/artist.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tidalapi/genre.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2020 morguldir
53
# Copyright (C) 2014 Thomas Amland

tidalapi/media.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tidalapi/mix.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2022 morguldir
53
#

tidalapi/page.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2021-2022 morguldir
53
#

tidalapi/playlist.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tidalapi/request.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
#
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

tidalapi/session.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland
@@ -17,7 +15,7 @@
1715
# You should have received a copy of the GNU Lesser General Public License
1816
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1917

20-
from __future__ import annotations, print_function, unicode_literals
18+
from __future__ import annotations
2119

2220
import base64
2321
import concurrent.futures

tidalapi/types.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42

53
from typing import Any, Dict

tidalapi/user.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# -*- coding: utf-8 -*-
2-
31
# Copyright (C) 2023- The Tidalapi Developers
42
# Copyright (C) 2019-2022 morguldir
53
# Copyright (C) 2014 Thomas Amland

0 commit comments

Comments
 (0)