Skip to content

Commit 508adf5

Browse files
committed
Fix linting errors
1 parent d5d5d14 commit 508adf5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

runner/runner.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
import logging
1717
import tempfile
1818
import argparse
19-
import requests
2019
import subprocess
2120

21+
import requests
22+
2223

24+
# pylint: disable=W1510
2325
logging.basicConfig(level=logging.INFO)
2426

2527

@@ -63,7 +65,7 @@ def execute_job(identifier, command):
6365
)
6466
requests.post(
6567
f"http://{SCHEDULER_IP}:{SCHEDULER_PORT}/jobs/{identifier}/logs",
66-
files={"logfile": open(logfile.name, mode="rb")}
68+
files={"logfile": open(logfile.name, mode="rb")}
6769
)
6870
if result.returncode == 0:
6971
send_update(identifier, "DONE")

0 commit comments

Comments
 (0)