Conditions | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
1 | from bears.general.LineLengthBear import LineLengthBear |
||
16 | ["test line"]), |
||
17 | settings={"max_line_length": "4"}) |
||
18 | |||
19 | |||
20 | LineLengthBear2Test = verify_local_bear(LineLengthBear, |
||
21 | valid_files=(test_file, |
||
22 | ["http://a.domain.de"]), |
||
23 | invalid_files=(["asdasd"],), |
||
24 | settings={ |
||
25 | "max_line_length": "4", |
||
26 | "ignore_length_regex": "http://"}) |
||
27 |