diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-13 17:17:20 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-13 17:17:20 +0200 |
| commit | 0825b2b53406bb4acf9d3857a1f846efa845877e (patch) | |
| tree | 72b43dcaf0c3d7d0b9f7028553c2bf71f8a4b3df /scripts/print_facts.py | |
| parent | 20eb9d1661c058476f80728b92956a76f035a27d (diff) | |
| download | allocbench-0825b2b53406bb4acf9d3857a1f846efa845877e.tar.gz allocbench-0825b2b53406bb4acf9d3857a1f846efa845877e.zip | |
[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
Diffstat (limited to 'scripts/print_facts.py')
| -rwxr-xr-x | scripts/print_facts.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
