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.
Passed
Pull Request — master (#5)
by Oleg
08:07
created

EnarkshApplication   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 26
ccs 0
cts 9
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __init__() 0 5 1
A get_default_commands() 0 13 1
1
"""
2
Enarksh
3
4
Copyright 2013-2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
from cleo import Application
9
10
from enarksh.command.BootstrapCommand import BootstrapCommand
11
from enarksh.command.LoadHostCommand import LoadHostCommand
12
from enarksh.command.LoadScheduleCommand import LoadScheduleCommand
13
14
15
class EnarkshApplication(Application):
16
    """
17
    The Enarksh application.
18
    """
19
20
    # ------------------------------------------------------------------------------------------------------------------
21
    def __init__(self):
22
        """
23
        Object constructor
24
        """
25
        Application.__init__(self, 'Enarksh', '0.0.0')
26
27
    # ------------------------------------------------------------------------------------------------------------------
28
    def get_default_commands(self):
29
        """
30
        Returns the default commands of this application.
31
32
        :rtype: list[cleo.Command]
33
        """
34
        commands = Application.get_default_commands(self)
35
36
        self.add(BootstrapCommand())
37
        self.add(LoadHostCommand())
38
        self.add(LoadScheduleCommand())
39
40
        return commands
41
42
43
# ----------------------------------------------------------------------------------------------------------------------
44