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
Push — master ( 7d14f7...4afba2 )
by P.R.
41s
created

EnarkshApplication.get_default_commands()   A

Complexity

Conditions 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 13
ccs 0
cts 6
cp 0
crap 2
rs 9.4285
1
"""
2
Enarksh
3
4
Copyright 2013-2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
# ----------------------------------------------------------------------------------------------------------------------
9
from cleo import Application
10
11
from enarksh.command.BootstrapCommand import BootstrapCommand
12
from enarksh.command.LoadHostCommand import LoadHostCommand
13
from enarksh.command.LoadScheduleCommand import LoadScheduleCommand
14
15
16
# ----------------------------------------------------------------------------------------------------------------------
17
class EnarkshApplication(Application):
18
    """
19
    The Enarksh application.
20
    """
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
        self.add(BootstrapCommand())
32
        self.add(LoadHostCommand())
33
        self.add(LoadScheduleCommand())
34
35
        return commands
36
37
38
# ----------------------------------------------------------------------------------------------------------------------
39