Bump black to 20.8b1 (and reformat) (#4371)

* Bump black version

* Reformat with black
This commit is contained in:
jack1142
2020-08-29 19:12:28 +02:00
committed by GitHub
parent 56b54d4d34
commit 85afe19455
30 changed files with 83 additions and 54 deletions

View File

@@ -146,8 +146,10 @@ class ServerManager:
@staticmethod
async def _get_java_version() -> Tuple[int, int]:
"""This assumes we've already checked that java exists."""
_proc: asyncio.subprocess.Process = await asyncio.create_subprocess_exec( # pylint:disable=no-member
"java", "-version", stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE
_proc: asyncio.subprocess.Process = (
await asyncio.create_subprocess_exec( # pylint:disable=no-member
"java", "-version", stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE
)
)
# java -version outputs to stderr
_, err = await _proc.communicate()