Conditions | 3 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Basic optimizer.""" |
||
14 | 1 | def set_custom_optimizing_order(self, ordered_stages): |
|
15 | """Set custom order.""" |
||
16 | 1 | if set(self.ordered_stages) == set(ordered_stages) and len( |
|
17 | self.ordered_stages) == len(ordered_stages): |
||
18 | 1 | self.ordered_stages = ordered_stages |
|
19 | else: |
||
20 | 1 | raise ValueError("List of stages must contain all stages.") |
|
21 | |||
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.