Concatenate strings, post-Black
This commit is contained in:
parent
6b04456c55
commit
3673c07994
|
@ -9,6 +9,7 @@ repos:
|
|||
rev: 19.10b0
|
||||
hooks:
|
||||
- id: black
|
||||
args: ["--target-version", "py35"]
|
||||
# override until resolved: https://github.com/psf/black/issues/402
|
||||
files: \.pyi?$
|
||||
types: []
|
||||
|
@ -32,4 +33,5 @@ repos:
|
|||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.4.0
|
||||
hooks:
|
||||
- id: check-merge-conflict
|
||||
- id: check-yaml
|
||||
|
|
|
@ -36,9 +36,7 @@ from xml.dom import Node, minidom
|
|||
from . import version
|
||||
|
||||
__author__ = "Amr Hassan, hugovk, Mice Pápai"
|
||||
__copyright__ = (
|
||||
"Copyright (C) 2008-2010 Amr Hassan, 2013-2019 hugovk, " "2017 Mice Pápai"
|
||||
)
|
||||
__copyright__ = "Copyright (C) 2008-2010 Amr Hassan, 2013-2019 hugovk, 2017 Mice Pápai"
|
||||
__license__ = "apache2"
|
||||
__email__ = "amr.hassan@gmail.com"
|
||||
__version__ = version.__version__
|
||||
|
@ -903,7 +901,7 @@ class _Request:
|
|||
headers = {
|
||||
"Content-type": "application/x-www-form-urlencoded",
|
||||
"Accept-Charset": "utf-8",
|
||||
"User-Agent": "pylast" + "/" + __version__,
|
||||
"User-Agent": "pylast/" + __version__,
|
||||
}
|
||||
|
||||
(host_name, host_subdir) = self.network.ws_server
|
||||
|
|
Loading…
Reference in a new issue