PY-16758 Preserve order of sections specified in Google code style guidelines
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Tue, 1 Sep 2015 14:20:49 +0000 (17:20 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Wed, 2 Sep 2015 11:35:46 +0000 (14:35 +0300)
commit7a22acb8d3d92c445cc4228c3048beb9f4a1c795
tree8b5802cff779913611fbb2d3eddb4e8f6baca7ba
parent3f34dfaa4e55cf7dad4d31b5b5c86964e2f4eb03
PY-16758 Preserve order of sections specified in Google code style guidelines
19 files changed:
python/src/com/jetbrains/python/documentation/GoogleCodeStyleDocString.java
python/src/com/jetbrains/python/documentation/SectionBasedDocString.java
python/src/com/jetbrains/python/documentation/docstrings/DocStringBuilder.java
python/src/com/jetbrains/python/documentation/docstrings/GoogleCodeStyleDocStringUpdater.java
python/src/com/jetbrains/python/documentation/docstrings/NumpyDocStringUpdater.java
python/src/com/jetbrains/python/documentation/docstrings/SectionBasedDocStringUpdater.java
python/testData/docstrings/googleKeywordArgumentsSection.py [new file with mode: 0644]
python/testData/intentions/afterGoogleReturnSectionAfterKeywords.py [new file with mode: 0644]
python/testData/intentions/afterGoogleReturnSectionAfterYields.py [new file with mode: 0644]
python/testData/intentions/afterGoogleReturnSectionBeforeRaises.py [new file with mode: 0644]
python/testData/intentions/afterParamSectionBeforeKeywords.py [new file with mode: 0644]
python/testData/intentions/afterParamTypeInGoogleDocStringOtherSectionExists.py
python/testData/intentions/afterParamTypeInNumpyDocStringOtherSectionExists.py
python/testData/intentions/beforeGoogleReturnSectionAfterKeywords.py [new file with mode: 0644]
python/testData/intentions/beforeGoogleReturnSectionAfterYields.py [new file with mode: 0644]
python/testData/intentions/beforeGoogleReturnSectionBeforeRaises.py [new file with mode: 0644]
python/testData/intentions/beforeParamSectionBeforeKeywords.py [new file with mode: 0644]
python/testSrc/com/jetbrains/python/PySectionBasedDocStringTest.java
python/testSrc/com/jetbrains/python/intentions/PyIntentionTest.java