PY-17211 Split PyDocstringInspection in two appcode/144.321 clion/144.320
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Tue, 13 Oct 2015 14:07:33 +0000 (17:07 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Wed, 14 Oct 2015 08:47:21 +0000 (11:47 +0300)
commit1d671fbcd77ea57db9b95078f11e4d0909d8b7d0
treebf5f094c9abdd959d8aea4025bf53839a8427919
parentabd1f2e8b30ac009bd491870af6fb79f4fcad9af
PY-17211 Split PyDocstringInspection in two

The first inspection PyIncorrectDocstringInspection checks that
docstring contains valid parameters and it's enabled by default.
Another - PyMissingOrEmptyDocstringInspection - ensures that
docstring exists for every suitable declaration. It often annoys users,
so it's turned off initially.

Additionally I moved messages from these inspections in PyBundle.
18 files changed:
python/ipnb/src/org/jetbrains/plugins/ipnb/IpnbVisitorFilter.java
python/resources/inspectionDescriptions/PyDocstringInspection.html [deleted file]
python/resources/inspectionDescriptions/PyIncorrectDocstringInspection.html [new file with mode: 0644]
python/resources/inspectionDescriptions/PyMissingOrEmptyDocstringInspection.html [new file with mode: 0644]
python/src/META-INF/python-core.xml
python/src/com/jetbrains/python/PyBundle.properties
python/src/com/jetbrains/python/console/ConsoleVisitorFilter.java
python/src/com/jetbrains/python/documentation/doctest/PyDocstringVisitorFilter.java
python/src/com/jetbrains/python/inspections/PyBaseDocstringInspection.java [new file with mode: 0644]
python/src/com/jetbrains/python/inspections/PyDocstringInspection.java [deleted file]
python/src/com/jetbrains/python/inspections/PyIncorrectDocstringInspection.java [new file with mode: 0644]
python/src/com/jetbrains/python/inspections/PyInspectionsSuppressor.java
python/src/com/jetbrains/python/inspections/PyMissingOrEmptyDocstringInspection.java [new file with mode: 0644]
python/testData/inspections/PyDocstringInspection/expected.xml
python/testData/inspections/PyDocstringInspection/src/test.py
python/testData/inspections/PyDocstringParametersInspection/test.py
python/testSrc/com/jetbrains/python/PyQuickFixTest.java
python/testSrc/com/jetbrains/python/PythonInspectionsTest.java