From 0825b2b53406bb4acf9d3857a1f846efa845877e Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 13 Jul 2020 17:17:20 +0200 Subject: [refactoring] fix or ignore many pylint hints * Add missing docstrings * Remove unused imports * fix line-to-long * fix some typos * ignore global-statement * ignore wrong-import-order for scripts under /scripts --- scripts/print_facts.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/print_facts.py') diff --git a/scripts/print_facts.py b/scripts/print_facts.py index dfb07a6..4a057f7 100755 --- a/scripts/print_facts.py +++ b/scripts/print_facts.py @@ -26,12 +26,15 @@ CURRENTDIR = os.path.dirname(os.path.abspath(__file__)) PARENTDIR = os.path.dirname(CURRENTDIR) sys.path.insert(0, PARENTDIR) +# pylint: disable=wrong-import-position from allocbench.benchmark import AVAIL_BENCHMARKS, get_benchmark_object import allocbench.facter as facter from allocbench.plots import print_facts, print_common_facts +# pylint: enable=wrong-import-position def main(): + """Print facts about an allocbench benchmark results""" parser = argparse.ArgumentParser( description="Print facts about an allocbench result directory") parser.add_argument("results", help="path to allocbench results", type=str) -- cgit v1.2.3