Pyroma tracebacks on missing description.

Issue #11 resolved
created an issue

On a project using description_file in setup.cfg (packaging), the generated (I presume) yields the following traceback, which should of course not happen.

pyroma .
Checking .
Found Pymacs
Traceback (most recent call last):
  File "/usr/local/bin/pyroma", line 9, in <module>
    load_entry_point('pyroma==1.3', 'console_scripts', 'pyroma')()
  File "/usr/local/lib/python2.7/dist-packages/pyroma-1.3-py2.7.egg/pyroma/", line 54, in main
  File "/usr/local/lib/python2.7/dist-packages/pyroma-1.3-py2.7.egg/pyroma/", line 33, in run
    rating = ratings.rate(data)
  File "/usr/local/lib/python2.7/dist-packages/pyroma-1.3-py2.7.egg/pyroma/", line 297, in rate
    res = test.test(data)
  File "/usr/local/lib/python2.7/dist-packages/pyroma-1.3-py2.7.egg/pyroma/", line 110, in test
    return len(data.get('long_description', '')) > 100
TypeError: object of type 'bool' has no len()

Comments (2)

  1. Log in to comment