Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
9 | class KerapuApplication(Application): |
||
10 | """ |
||
11 | The Kerapu application. |
||
12 | """ |
||
13 | |||
14 | # ------------------------------------------------------------------------------------------------------------------ |
||
15 | def __init__(self): |
||
16 | """ |
||
17 | Object constructor. |
||
18 | """ |
||
19 | Application.__init__(self, 'kerapu', '0.0.0') |
||
20 | |||
21 | # ------------------------------------------------------------------------------------------------------------------ |
||
22 | def get_default_commands(self): |
||
23 | """ |
||
24 | Returns the default commands of this application. |
||
25 | |||
26 | :rtype: list[cleo.Command] |
||
27 | """ |
||
28 | commands = Application.get_default_commands(self) |
||
29 | |||
30 | # kerapu: |
||
31 | commands.append(ShredderCommand()) |
||
32 | |||
33 | return commands |
||
34 | |||
36 |
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.