Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpplint README does not specify Python version #277

Open
achekery opened this issue Sep 13, 2017 · 0 comments
Open

cpplint README does not specify Python version #277

achekery opened this issue Sep 13, 2017 · 0 comments
Labels

Comments

@achekery
Copy link

achekery commented Sep 13, 2017

Please specify Python version for reference. Python versions 2.X and 3.X have some syntax differences. However, the intended version is not specified in cpplint README.

$ cpplint.py --help
/cygdrive/c/work/scripts/cpplint.py:5864: Warning: 'with' will become a reserved
 keyword in Python 2.6
  File "/cygdrive/c/work/scripts/cpplint.py", line 5864
    with open(cfg_file) as file_handle:
            ^
SyntaxError: invalid syntax

$ python --version
Python 2.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants