diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 1480fa1..5b2dc65 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -12,8 +12,11 @@ Please include **code** that reproduces the issue. -The [best reproductions](https://stackoverflow.com/help/minimal-reproducible-example) are [self-contained scripts](https://ericlippert.com/2014/03/05/how-to-debug-small-programs/) with minimal dependencies. +The [best reproductions](https://stackoverflow.com/help/minimal-reproducible-example) +are +[self-contained scripts](https://ericlippert.com/2014/03/05/how-to-debug-small-programs/) +with minimal dependencies. ```python -code goes here +# code goes here ``` diff --git a/README.md b/README.md index 0495c7b..fb05c3b 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,12 @@ API_SECRET = "425b55975eed76058ac220b7b4e8a054" username = "your_user_name" password_hash = pylast.md5("your_password") -network = pylast.LastFMNetwork(api_key=API_KEY, api_secret=API_SECRET, - username=username, password_hash=password_hash) +network = pylast.LastFMNetwork( + api_key=API_KEY, + api_secret=API_SECRET, + username=username, + password_hash=password_hash, +) # Now you can use that object everywhere artist = network.get_artist("System of a Down") diff --git a/tests/test_pylast.py b/tests/test_pylast.py index 4c39f33..26f799c 100755 --- a/tests/test_pylast.py +++ b/tests/test_pylast.py @@ -11,7 +11,7 @@ from flaky import flaky import pylast -WRITE_TEST = sys.version_info[:2] == (3, 8) +WRITE_TEST = sys.version_info[:2] == (3, 9) def load_secrets(): # pragma: no cover