Conditions | 3 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
1 | # pylint: disable=unused-variable,redefined-outer-name,expression-not-assigned |
||
29 | def describe_show(): |
||
30 | |||
31 | @patch('gitman.common.show') |
||
32 | def it_prints_location_by_default(show, location): |
||
33 | cli.main(['show']) |
||
34 | |||
35 | expect(show.mock_calls) == [call(location)] |
||
36 | |||
37 | @patch('gitman.common.show') |
||
38 | def it_can_print_a_depenendcy_path(show, location): |
||
39 | cli.main(['show', 'bar']) |
||
40 | |||
41 | expect(show.mock_calls) == [call(os.path.join(location, "bar"))] |
||
42 | |||
57 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.py
files in your module folders. Make sure that you place one file in each sub-folder.