Completed
Pull Request — master (#2057)
by Lasse
01:57
created

EchoBear.create_arguments()   A

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
1
from coalib.bearlib.abstractions.Linter import linter
2
3
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