Return True if a line ends with some strings that indicate we are at the end of a statement.
(chars_only_line)
| 4314 | |
| 4315 | |
| 4316 | def is_end_of_statement(chars_only_line): |
| 4317 | """ |
| 4318 | Return True if a line ends with some strings that indicate we are at the end |
| 4319 | of a statement. |
| 4320 | """ |
| 4321 | return ( |
| 4322 | chars_only_line |
| 4323 | and chars_only_line.endswith(('rightreserved', 'rightsreserved')) |
| 4324 | ) |
| 4325 | |
| 4326 | |
| 4327 | remove_non_chars = re.compile(r'[^a-z0-9]', re.IGNORECASE).sub |
no outgoing calls
no test coverage detected