From 29e71e0e4095d097b9c420ed7a4757651cafa6b4 Mon Sep 17 00:00:00 2001 From: Alexander Vasarab Date: Mon, 29 Jun 2020 13:17:17 -0700 Subject: [PATCH] Fix a few more pylint(1) issues --- munter/__main__.py | 1 - tests/test.py | 9 +++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/munter/__main__.py b/munter/__main__.py index 389c8a2..303f4c0 100644 --- a/munter/__main__.py +++ b/munter/__main__.py @@ -4,4 +4,3 @@ from .munter import main main() - diff --git a/tests/test.py b/tests/test.py index 5606d30..8090894 100755 --- a/tests/test.py +++ b/tests/test.py @@ -1,11 +1,12 @@ #! /usr/bin/env python # -*- coding: utf-8 -*- +"""rudimentary test program for Munter.py""" import munter # positional args invocation -est = munter.time_calc(3.2, 2300, 'average', 'uphill', 'imperial') -print("Time estimate (3.2 mi, +2300'): %s hours" % est['time']) +EST = munter.time_calc(3.2, 2300, 'average', 'uphill', 'imperial') +print("Time estimate (3.2 mi, +2300'): %s hours" % EST['time']) # defaults with one override invocation -est = munter.time_calc(4.5, 2650, fitness='slow') -print("Time estimate (4.5 mi, +2650, slow): %s hours" % est['time']) +EST = munter.time_calc(4.5, 2650, fitness='slow') +print("Time estimate (4.5 mi, +2650, slow): %s hours" % EST['time']) -- 2.30.2