| Conditions | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import autopep8 |
||
| 11 | gives_corrected = True |
||
| 12 | |||
| 13 | def lint(self, filename, file, **kwargs): |
||
| 14 | new_file = autopep8.fix_code(''.join(file), options=kwargs) |
||
| 15 | output = new_file.splitlines(True) |
||
| 16 | return self.process_output(output, filename, file) |
||
| 17 | |||
| 18 | def run(self, |
||
| 19 | filename, |
||
| 20 | file, |
||
| 21 | max_line_length: int=80, |
||
| 22 | tab_width: int=SpacingHelper.DEFAULT_TAB_WIDTH, |
||
| 23 | pep_ignore: typed_list(str)=(), |
||
| 24 | pep_select: typed_list(str)=()): |
||
| 25 | """ |
||
| 40 |