| Conditions | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | class DefaultLinterInterface: |
||
| 3 | @staticmethod |
||
| 4 | def generate_config(filename, file): |
||
| 5 | """ |
||
| 6 | Generates the content of a config-file the linter-tool might need. |
||
| 7 | |||
| 8 | The contents generated from this function are written to a temporary |
||
| 9 | file and the path is provided inside ``create_arguments()``. |
||
| 10 | |||
| 11 | By default no configuration is generated. |
||
| 12 | |||
| 13 | You can provide additional keyword arguments and defaults. These will |
||
| 14 | be interpreted as required settings that need to be provided through a |
||
| 15 | coafile-section. |
||
| 16 | |||
| 17 | :param filename: The name of the file currently processed. |
||
| 18 | :param file: The contents of the file currently processed. |
||
| 19 | :return: The config-file-contents as a string or ``None``. |
||
| 20 | """ |
||
| 21 | return None |
||
| 22 | |||
| 40 |