archive
/
ipc-unix
Archived
1
Fork 0
This commit is contained in:
Jake Howard 2018-12-07 20:57:12 +00:00
parent 5f4aac4822
commit 5ad2c115e9
Signed by: jake
GPG Key ID: 57AFB45680EDD477
3 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
black==18.9b0 black==18.9b0
flake8==3.6.0 flake8==3.6.0
isort==4.3.4 isort==4.3.4
mypy==0.641
nose2==0.8.0 nose2==0.8.0

View File

@ -9,3 +9,4 @@ python setup.py test
black tests ipc_unix --check black tests ipc_unix --check
flake8 ipc_unix tests --ignore=E128,E501 flake8 ipc_unix tests --ignore=E128,E501
isort -rc -c ipc_unix tests isort -rc -c ipc_unix tests
mypy --strict-optional ipc_unix tests

View File

@ -8,7 +8,7 @@ class EchoServer(server.Server):
return request return request
def get_random_path(): def get_random_path() -> str:
_, temp_file_path = tempfile.mkstemp() _, temp_file_path = tempfile.mkstemp()
os.remove(temp_file_path) os.remove(temp_file_path)
return temp_file_path return temp_file_path