confusing error "Missing a blank line before epytext markups"
Bug #1093502 reported by
Jean-Paul Calderone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
twistedchecker |
New
|
Undecided
|
Unassigned |
Bug Description
This error is reported:
W9207:
when getInodeNumber looks like this:
def getInodeNumber(
"""
Retrieve the file serial number, also called inode number, which
@raise NotImplementedE
inode number would be a dummy value for all files in Windows
@return: a number representing the file serial number
@rtype: L{int}
@since: 11.0
"""
It's not really clear what the problem with this docstring is.
Related branches
lp:~dreid/twistedchecker/blank-lines-before-more-fields
- Jean-Paul Calderone: Approve
-
Diff: 58 lines (+39/-1)2 files modifiedtwistedchecker/checkers/docstring.py (+2/-1)
twistedchecker/functionaltests/docstring_pass.py (+37/-0)
To post a comment you must log in.
In checkers. docstring. _checkBlankLine BeforeEpytext, patternEpytext is missing cvar and ivar. Of, for the above example, raise.
Here's my code that also fails here:
@cvar defaultLogger: The default L{Logger} instance to use when none is __init_ _}.
supplied to L{LoggingFile.
@type defaultLogger: L{Logger}