Reputation: 1
To All,
How do I set python-mode so the linters check for Python 3 versus Python 2 errors depending on if I am editing a Python 3 or a Python 2 file? After the last update of python-mode, the linters seems to be defaulting to Python 3. For example there are lots of complaints about print statements - print "hello world" instead of print functions - print("hello world") when I am in a Python 2 file.
Note that let g:pymode_python = 'python' is not the solution so I could not find an answer in :help pymode
Thanks,
Steve
Upvotes: 0
Views: 333