| Conditions | 2 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import autopep8 |
||
| 19 | def run(self, |
||
| 20 | filename, |
||
| 21 | file, |
||
| 22 | pep_ignore: typed_list(str)=(), |
||
| 23 | pep_select: typed_list(str)=()): |
||
| 24 | """ |
||
| 25 | Detects and fixes PEP8 incompliant code. This bear will not change |
||
| 26 | functionality of the code in any way. |
||
| 27 | |||
| 28 | :param pep_ignore: A list of errors/warnings to ignore. |
||
| 29 | :param pep_select: A list of errors/warnings to exclusively apply. |
||
| 30 | """ |
||
| 31 | for result in self.retrieve_results(filename, |
||
| 32 | file, |
||
| 33 | pep_ignore=pep_ignore, |
||
| 34 | pep_select=pep_select): |
||
| 35 | yield result |
||
| 36 |