(
cls,
text, # type: Text
source="<string>", # type: Text
)
| 39 | class LogicalLine(object): |
| 40 | @classmethod |
| 41 | def from_str( |
| 42 | cls, |
| 43 | text, # type: Text |
| 44 | source="<string>", # type: Text |
| 45 | ): |
| 46 | # type: (...) -> LogicalLine |
| 47 | return LogicalLine( |
| 48 | raw_text=text, |
| 49 | processed_text=text.strip(), |
| 50 | source=source, |
| 51 | start_line=1, |
| 52 | end_line=1, |
| 53 | ) |
| 54 | |
| 55 | raw_text = attr.ib() # type: Text |
| 56 | processed_text = attr.ib() # type: Text |
no test coverage detected