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

ControllerApplication   A

Complexity

Total Complexity 1

Size/Duplication

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A get_default_commands() 0 11 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.ControllerCommand import ControllerCommand
12
13
14
# ----------------------------------------------------------------------------------------------------------------------
15
class ControllerApplication(Application):
16
    """
17
    The Enarksh controller application.
18
    """
19
20
    # ------------------------------------------------------------------------------------------------------------------
21
    def get_default_commands(self):
22
        """
23
        Returns the default commands of this application.
24
25
        :rtype: list[cleo.Command]
26
        """
27
        commands = Application.get_default_commands(self)
28
29
        self.add(ControllerCommand())
30
31
        return commands
32
33
# ----------------------------------------------------------------------------------------------------------------------
34