Add Python 3 support
What steps will reproduce the problem?
- Run gjslint.py using Python 3.
What is the expected output?
- Normal linting over the source files.
What do you see instead?
Traceback (most recent call last):
File "d:\Programming\repo\node_modules\closure-linter-wrapper\tools\gjslint.py", line 13, in <module>
from closure_linter import gjslint
File "d:\Programming\repo\node_modules\closure-linter-wrapper\tools\closure_linter\gjslint.py", line 168
print '%s: %d' % (path, len(path_errors))
^
SyntaxError: invalid syntax
What version of the product are you using?
- 2.3.1.2
On what operating system?
- Windows 7
Original issue reported on code.google.com by [email protected] on 17 Jun 2014 at 2:23
Any update on this? A year and Python 3 has continued to become used more and
more. Would love an update on this.
Original comment by [email protected] on 12 Jun 2015 at 7:56
I have got same error.
C:\Python34\Scripts>gjslint
Traceback (most recent call last):
File "C:\Python34\Scripts\gjslint-script.py", line 9, in
Are there any plans to support Python 3 in the near future?
There are no such plans. This project is as good as deprecated and not actively developed anymore. We’ll update with more information on alternatives in the near future.