styleguide icon indicating copy to clipboard operation
styleguide copied to clipboard

cpplint.py write error

Open haobo724 opened this issue 2 years ago • 2 comments

something wrong with function sys.stderr.write() when I use cpplint.py from [email protected]:google/styleguide.git the console always shows an Error msg: TypeError('write() argument must be str, not bytes') But if i use the cpplint.py from https://github.com/cpplint/cpplint everything goes well.

By comparison I found that it was a matter of how some of the error messages were called by function. So I simply copied the file from https://github.com/cpplint/cpplint and rewrote the old one I also creat a pull issue with title: Error print from https://github.com/cpplint/cpplint fixed #750 https://github.com/google/styleguide/pull/750

haobo724 avatar Jan 09 '23 01:01 haobo724

Hello, As google most likely has notified you when your pr failed due to unsigned CLA, please sign that as otherwise your pr will not be able to be merged. This issue most likely occurs because google has different internals than cpplint as you mentioned before. Also please refrain from opening an issue and a pr as it causes more problems for devs to go through. Thanks.

Comiclyy avatar Apr 15 '23 02:04 Comiclyy

Hello, As google most likely has notified you when your pr failed due to unsigned CLA, please sign that as otherwise your pr will not be able to be merged. This issue most likely occurs because google has different internals than cpplint as you mentioned before. Also please refrain from opening an issue and a pr as it causes more problems for devs to go through. Thanks.

thank you, now I have signed CLA

haobo724 avatar Apr 20 '23 14:04 haobo724