Run checks that applies to text up to the opening brace. This is mostly for checking the text after the class identifier and the "{", usually where the base class is specified. For other blocks, there isn't much to check, so we always pass. Args: filename: The name of the cu
(self, filename, clean_lines, linenum, error)
| 2718 | self.check_namespace_indentation = False |
| 2719 | |
| 2720 | def CheckBegin(self, filename, clean_lines, linenum, error): |
| 2721 | """Run checks that applies to text up to the opening brace. |
| 2722 | |
| 2723 | This is mostly for checking the text after the class identifier |
| 2724 | and the "{", usually where the base class is specified. For other |
| 2725 | blocks, there isn't much to check, so we always pass. |
| 2726 | |
| 2727 | Args: |
| 2728 | filename: The name of the current file. |
| 2729 | clean_lines: A CleansedLines instance containing the file. |
| 2730 | linenum: The number of the line to check. |
| 2731 | error: The function to call with any errors found. |
| 2732 | """ |
| 2733 | pass |
| 2734 | |
| 2735 | def CheckEnd(self, filename, clean_lines, linenum, error): |
| 2736 | """Run checks that applies to text after the closing brace. |