PY-18744 Don't advertise compatibility inspection in library sources
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Wed, 24 Aug 2016 11:39:44 +0000 (14:39 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Thu, 25 Aug 2016 12:07:13 +0000 (15:07 +0300)
commit7ae5998264a7089f9b7c288230790c5a7aaf4581
tree46079477c9b17b0ef02221b40ce6cb98fd2bb810
parentbfc89ace65c1b2f829a2ff4315b8f42f880cfc70
PY-18744 Don't advertise compatibility inspection in library sources

In particular, if some library imports __future__ or six, it doesn't
necessarily mean that project which uses it is intended to be
cross-compatible as well.
python/src/com/jetbrains/python/inspections/PyCompatibilityInspectionAdvertiser.java