Completed
Pull Request — master (#43)
by Wojtek
07:28
created

ProcessValidator.validate()   A

Complexity

Conditions 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
cc 1
1
"""Validate process."""
2
3
4
class ProcessValidator(object):
5
    """Validate if process is correctly defined."""
6
    @staticmethod
7
    def validate(process):
8
        """Main method."""
9
        return process is not None
10