terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.85k stars 250 forks source link

Version 1.9.7 runtime error #77

Closed rickmak closed 8 years ago

rickmak commented 8 years ago

I got the following error at 1.9.7, run at travis-ci.

Traceback (most recent call last):
  File "/usr/local/bin/lizard", line 6, in <module>
    lizard_main(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/lizard.py", line 997, in lizard_main
    printer(result, options, OutputScheme(options.extensions))
TypeError: print_clang_style_warning() takes exactly 2 arguments (3 given)

Downgrade to 1.9.6 remove the problem.

terryyin commented 8 years ago

Oops, sorry! I’ve fixed the problem and made a new release.

On 30 Dec 2015, at 3:04 PM, Rick Mak notifications@github.com wrote:

I got the following error at 1.9.7, run at travis-ci.

Traceback (most recent call last): File "/usr/local/bin/lizard", line 6, in lizard_main(sys.argv) File "/usr/local/lib/python2.7/site-packages/lizard.py", line 997, in lizard_main printer(result, options, OutputScheme(options.extensions)) TypeError: print_clang_style_warning() takes exactly 2 arguments (3 given) Downgrade to 1.9.6 remove the problem.

— Reply to this email directly or view it on GitHub https://github.com/terryyin/lizard/issues/77.

rickmak commented 8 years ago

Thanks, it is working now.