Total Complexity | 1 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
14 | class SDoc2Command(Command): |
||
15 | """ |
||
16 | This command starts executing sdoc2 component. |
||
17 | """ |
||
18 | |||
19 | name = 'sdoc2' |
||
20 | |||
21 | arguments = [ |
||
22 | { |
||
23 | 'name': 'main_sdoc_file', |
||
24 | 'description': "The 'sdoc' file which we want to parse", |
||
25 | 'required': True |
||
26 | } |
||
27 | ] |
||
28 | |||
29 | # ------------------------------------------------------------------------------------------------------------------ |
||
30 | def handle(self): |
||
31 | """ |
||
32 | Reads the arguments and starts SDoc application. |
||
33 | """ |
||
34 | main_sdoc_file = self.argument('main_sdoc_file') |
||
35 | |||
36 | sdoc = SDoc() |
||
37 | sdoc.test_sdoc2(main_sdoc_file) |
||
38 | |||
40 |
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.