Fix a few more pylint(1) issues
authorAlexander Vasarab <alexander@wylark.com>
Mon, 29 Jun 2020 20:17:17 +0000 (13:17 -0700)
committerAlexander Vasarab <alexander@wylark.com>
Mon, 29 Jun 2020 20:17:17 +0000 (13:17 -0700)
munter/__main__.py
tests/test.py

index 389c8a2cdd33c858ea048ac59a86d867511ea851..303f4c0df2153747cc8956c35f57302bd80404a2 100644 (file)
@@ -4,4 +4,3 @@
 
 from .munter import main
 main()
-
index 5606d30fb76b7e71c3988caab0301a8538f8bfc1..8090894908d5a278c34aa62e6303eff6101160aa 100755 (executable)
@@ -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'])