GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( be813a...3d8811 )
by P.R.
06:43 queued 46s
created

kerapu.application.KerapuApplication   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 12
dl 0
loc 36
ccs 0
cts 11
cp 0
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A KerapuApplication.get_default_commands() 0 13 1
A KerapuApplication.__init__() 0 5 1
1
"""
2
Kerapu
3
"""
4
from cleo import Application
5
6
from kerapu.command.ShredderCommand import ShredderCommand
7
from kerapu.command.TestsetShredderCommand import TestShredderCommand
8
9
10
class KerapuApplication(Application):
11
    """
12
    The Kerapu application.
13
    """
14
15
    # ------------------------------------------------------------------------------------------------------------------
16
    def __init__(self):
17
        """
18
        Object constructor.
19
        """
20
        Application.__init__(self, 'kerapu', '1.0.2')
21
22
    # ------------------------------------------------------------------------------------------------------------------
23
    def get_default_commands(self):
24
        """
25
        Returns the default commands of this application.
26
27
        :rtype: list[cleo.Command]
28
        """
29
        commands = Application.get_default_commands(self)
30
31
        # Kerapu:
32
        commands.append(ShredderCommand())
33
        commands.append(TestShredderCommand())
34
35
        return commands
36
37
# ----------------------------------------------------------------------------------------------------------------------
38