From 83133ed67fba517489f26d16ed321a3d4262f623 Mon Sep 17 00:00:00 2001 From: tehkillerbee Date: Sun, 28 Jan 2024 14:26:29 +0100 Subject: [PATCH 1/2] Fix header copyright mesg. --- tests/__init__.py | 3 +++ tests/conftest.py | 1 + tests/cover.py | 1 + tests/test_album.py | 1 + tests/test_artist.py | 1 + tests/test_genres.py | 1 + tests/test_media.py | 1 + tests/test_mix.py | 1 + tests/test_page.py | 1 + tests/test_playlist.py | 1 + tests/test_session.py | 1 + tests/test_user.py | 1 + tidalapi/__init__.py | 4 ++++ tidalapi/album.py | 1 + tidalapi/artist.py | 1 + tidalapi/genre.py | 1 + tidalapi/media.py | 1 + tidalapi/mix.py | 1 + tidalapi/page.py | 1 + tidalapi/playlist.py | 1 + tidalapi/request.py | 1 + tidalapi/session.py | 1 + tidalapi/types.py | 4 ++++ tidalapi/user.py | 1 + 24 files changed, 32 insertions(+) diff --git a/tests/__init__.py b/tests/__init__.py index e69de29..c1e48c0 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +# Copyright (C) 2023- The Tidalapi Developers \ No newline at end of file diff --git a/tests/conftest.py b/tests/conftest.py index 091ac2d..6551b10 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/cover.py b/tests/cover.py index 034fe03..1fb0da9 100644 --- a/tests/cover.py +++ b/tests/cover.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_album.py b/tests/test_album.py index 5bb630b..6bce38d 100644 --- a/tests/test_album.py +++ b/tests/test_album.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_artist.py b/tests/test_artist.py index 41e3e6c..9fd15a6 100644 --- a/tests/test_artist.py +++ b/tests/test_artist.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_genres.py b/tests/test_genres.py index a316704..8c91a0a 100644 --- a/tests/test_genres.py +++ b/tests/test_genres.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2020 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_media.py b/tests/test_media.py index e3c26d1..1f4ee78 100644 --- a/tests/test_media.py +++ b/tests/test_media.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_mix.py b/tests/test_mix.py index a08b717..5c03eaf 100644 --- a/tests/test_mix.py +++ b/tests/test_mix.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_page.py b/tests/test_page.py index e6bed8d..2e42ee7 100644 --- a/tests/test_page.py +++ b/tests/test_page.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2022 morguldir # # This program is free software: you can redistribute it and/or modify diff --git a/tests/test_playlist.py b/tests/test_playlist.py index ba2e48a..b8b4c2f 100644 --- a/tests/test_playlist.py +++ b/tests/test_playlist.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_session.py b/tests/test_session.py index bb237cc..b10fecf 100644 --- a/tests/test_session.py +++ b/tests/test_session.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tests/test_user.py b/tests/test_user.py index d8aa835..53ce25f 100644 --- a/tests/test_user.py +++ b/tests/test_user.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/__init__.py b/tidalapi/__init__.py index 44bfddf..8eec358 100644 --- a/tidalapi/__init__.py +++ b/tidalapi/__init__.py @@ -1,3 +1,7 @@ +# -*- coding: utf-8 -*- + +# Copyright (C) 2023- The Tidalapi Developers + from .album import Album # noqa: F401 from .artist import Artist, Role # noqa: F401 from .genre import Genre # noqa: F401 diff --git a/tidalapi/album.py b/tidalapi/album.py index 9bdbbbb..f381947 100644 --- a/tidalapi/album.py +++ b/tidalapi/album.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/artist.py b/tidalapi/artist.py index 6c1660d..e8edc0b 100644 --- a/tidalapi/artist.py +++ b/tidalapi/artist.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/genre.py b/tidalapi/genre.py index 8ca8da0..faa11b8 100644 --- a/tidalapi/genre.py +++ b/tidalapi/genre.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2020 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/media.py b/tidalapi/media.py index 67f967c..ee0838f 100644 --- a/tidalapi/media.py +++ b/tidalapi/media.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/mix.py b/tidalapi/mix.py index bd214b3..86a3dd8 100644 --- a/tidalapi/mix.py +++ b/tidalapi/mix.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2022 morguldir # # This program is free software: you can redistribute it and/or modify diff --git a/tidalapi/page.py b/tidalapi/page.py index 1ba0f68..6a046b1 100644 --- a/tidalapi/page.py +++ b/tidalapi/page.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2021-2022 morguldir # # This program is free software: you can redistribute it and/or modify diff --git a/tidalapi/playlist.py b/tidalapi/playlist.py index dbbd5b3..d818871 100644 --- a/tidalapi/playlist.py +++ b/tidalapi/playlist.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/request.py b/tidalapi/request.py index 57017a1..fb957ad 100644 --- a/tidalapi/request.py +++ b/tidalapi/request.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/session.py b/tidalapi/session.py index 45903bc..bb578ca 100644 --- a/tidalapi/session.py +++ b/tidalapi/session.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # diff --git a/tidalapi/types.py b/tidalapi/types.py index a18895c..755cf7c 100644 --- a/tidalapi/types.py +++ b/tidalapi/types.py @@ -1,3 +1,7 @@ +# -*- coding: utf-8 -*- + +# Copyright (C) 2023- The Tidalapi Developers + from typing import Any, Dict JsonObj = Dict[str, Any] diff --git a/tidalapi/user.py b/tidalapi/user.py index d6248ad..0b00ced 100644 --- a/tidalapi/user.py +++ b/tidalapi/user.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2023- The Tidalapi Developers # Copyright (C) 2019-2022 morguldir # Copyright (C) 2014 Thomas Amland # From 988ef22e0eed830a9970c1686a04d6861ac34a38 Mon Sep 17 00:00:00 2001 From: tehkillerbee Date: Sun, 28 Jan 2024 14:26:49 +0100 Subject: [PATCH 2/2] Fix format --- tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__init__.py b/tests/__init__.py index c1e48c0..68ca801 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2023- The Tidalapi Developers \ No newline at end of file +# Copyright (C) 2023- The Tidalapi Developers