PEP8: import of built-in modules at the top of the file
This also prevents double import of `sys` and `os`.
This commit is contained in:
@@ -1,13 +1,16 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
import datetime
|
||||||
|
import json
|
||||||
import os
|
import os
|
||||||
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
|
import tempfile
|
||||||
|
|
||||||
SCRIPT_PATH = os.path.realpath(__file__)
|
SCRIPT_PATH = os.path.realpath(__file__)
|
||||||
SCRIPT_DIR = os.path.dirname(SCRIPT_PATH)
|
SCRIPT_DIR = os.path.dirname(SCRIPT_PATH)
|
||||||
|
|
||||||
import argparse
|
|
||||||
import datetime
|
|
||||||
import foundation
|
import foundation
|
||||||
from foundation import (benchrunner,
|
from foundation import (benchrunner,
|
||||||
buildbot,
|
buildbot,
|
||||||
@@ -16,11 +19,6 @@ from foundation import (benchrunner,
|
|||||||
logger,
|
logger,
|
||||||
system_info,
|
system_info,
|
||||||
util)
|
util)
|
||||||
import json
|
|
||||||
import os
|
|
||||||
import shutil
|
|
||||||
import sys
|
|
||||||
import tempfile
|
|
||||||
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
Reference in New Issue
Block a user