Blacken docs

This commit is contained in:
Hugo van Kemenade 2020-12-30 13:09:06 +02:00
parent 6c66279957
commit 3fcf45062d
3 changed files with 12 additions and 5 deletions

View file

@ -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
```

View file

@ -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")

View file

@ -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