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 (#3)
by Oleg
02:37
created

EnarkshApplication   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
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 19
ccs 0
cts 7
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
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
# ----------------------------------------------------------------------------------------------------------------------
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