bndr / pipreqs

pipreqs - Generate pip requirements.txt file based on imports of any project. Looking for maintainers to move this project forward.
Apache License 2.0
6.38k stars 388 forks source link

Syntaxe error on """ #216

Closed renaudl closed 4 years ago

renaudl commented 4 years ago

When scanning our Python 3.6 project I get a syntaxe error on comments """.

SyntaxError: invalid character in identifier

When I remove the line I qet the same message on the fiirst import.

I am scanning a utf8. Could that be that I have missmatch encoding?

renaudl commented 4 years ago

Resolved by recreating the source file failing. Probably a bad character in the file.