From 05c01f2b21fc9359e6a89eb5862aaa8d4c743b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 14 Aug 2018 12:07:26 +0200 Subject: [PATCH] PEP8: import of built-in modules at the top of the file This also prevents double import of `sys` and `os`. --- benchmark/farm.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/benchmark/farm.py b/benchmark/farm.py index 4182379..0102b5a 100755 --- a/benchmark/farm.py +++ b/benchmark/farm.py @@ -1,13 +1,16 @@ #!/usr/bin/env python3 +import argparse +import datetime +import json import os +import shutil import sys +import tempfile SCRIPT_PATH = os.path.realpath(__file__) SCRIPT_DIR = os.path.dirname(SCRIPT_PATH) -import argparse -import datetime import foundation from foundation import (benchrunner, buildbot, @@ -16,11 +19,6 @@ from foundation import (benchrunner, logger, system_info, util) -import json -import os -import shutil -import sys -import tempfile ########################################