| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from coalib.bearlib.abstractions.Linter import linter |
||
| 4 | @linter(executable='echo', |
||
| 5 | output_format='regex', |
||
| 6 | output_regex=r'.+:(?P<line>\d+):(?P<message>.*)') |
||
| 7 | class EchoBear: |
||
| 8 | """ |
||
| 9 | A simple bear to test that collectors are importing also bears that are |
||
| 10 | defined in another file *but* have baseclasses in the right file. |
||
| 11 | |||
| 12 | (linter will create a new class that inherits from this class.) |
||
| 13 | """ |
||
| 14 | |||
| 15 | @staticmethod |
||
| 16 | def create_arguments(filename, file, config_file): |
||
| 17 | return () |
||
| 18 |