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