Completed
Pull Request — master (#27)
by Wojtek
10:16 queued 16s
created

optimize()   A

Complexity

Conditions 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 1
dl 0
loc 4
rs 10
1
"""Contains class of Calls Process."""
2
from main.model.core.abstract_process import AbstractProcess
0 ignored issues
show
Bug introduced by
The name model does not seem to exist in module main.
Loading history...
Configuration introduced by
The import main.model.core.abstract_process could not be resolved.

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.

# .scrutinizer.yml
before_commands:
    - sudo pip install abc # Python2
    - sudo pip3 install abc # Python3
Tip: We are currently not using virtualenv to run pylint, when installing your modules make sure to use the command for the correct version.

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.

Loading history...
3
4
5
class CallsProcess(AbstractProcess):
0 ignored issues
show
Coding Style introduced by
This class has no __init__ method.
Loading history...
6
    """Implementation of process with the same type of stages - calls."""
7
8
    @staticmethod
9
    def optimize():
10
        """Optimization method."""
11
        print("Optimization!")
12