Is there anything that allows visual studio code to tell you if you are writing python code that is not compatible with both python 2 and 3 versions? I know that PyCharm has this feature but I'd prefer not to switch between IDEs depending on the language I'm coding in.
For example, print "Hello world!" should give me an error because its not compatible with python 3. assert 3 / 2 == 1.5 should give me an error because it's not compatible with python 2.
assert—they won't even catchassert 3 == 2.