Browse Source

Fix setup.py

Jakub Roztocil 3 months ago
parent
commit
531dee1626
2 changed files with 3 additions and 3 deletions
  1. 1 1
      setup.py
  2. 2 2
      tox.ini

+ 1 - 1
setup.py

@@ -37,7 +37,7 @@ def read_description(filename):
 def read_requirements(filename):
     try:
         with open(filename) as f:
-            result = [line.rstrip() for line in f]
+            return [line.rstrip() for line in f]
     except IOError:
         raise IOError(os.getcwd())
 

+ 2 - 2
tox.ini

@@ -15,5 +15,5 @@ setenv =
     LANG = en_US.utf-8
 
 [pytest]
-#testpaths = tests
-#addopts = --cov-config .coveragerc --cov http_prompt
+testpaths = tests
+addopts = --cov-config .coveragerc --cov http_prompt