Merge lp:~dreid/twistedchecker/blank-lines-before-more-fields into lp:~twisted-dev/twistedchecker/trunk
Proposed by
David Reid
Status: | Merged |
---|---|
Approved by: | Jean-Paul Calderone |
Approved revision: | 35 |
Merged at revision: | 34 |
Proposed branch: | lp:~dreid/twistedchecker/blank-lines-before-more-fields |
Merge into: | lp:~twisted-dev/twistedchecker/trunk |
Diff against target: |
58 lines (+39/-1) 2 files modified
twistedchecker/checkers/docstring.py (+2/-1) twistedchecker/functionaltests/docstring_pass.py (+37/-0) |
To merge this branch: | bzr merge lp:~dreid/twistedchecker/blank-lines-before-more-fields |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jean-Paul Calderone | Approve | ||
Review via email: mp+216202@code.launchpad.net |
Description of the change
Not all epytext fields were properly recognized as the beginning of epytext blocks, this adds @cvar, @ivar, and @raises.
There may be others worth adding but these were the ones that were obviously in use and missing.
To post a comment you must log in.
http:// epydoc. sourceforge. net/fields. html#fields might be an interesting thing to consider here.
Perhaps it would be better not to try to match the particular keyword and instead just match something like `@[a-z]+`?
The code in the branch is, however, strictly an improvement over trunk. If you'd rather just land this as-is, that's fine with me too.
In other words, please consider making the code match all documented epytext keywords. If you'd rather not now, please file another bug report. Then merge.
Thank you very much for improving this!