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 ( fbdd84...45bad2 )
by P.R.
04:28
created

ExitMessageEventHandler   A

Complexity

Total Complexity 1

Size/Duplication

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 12 1
1
"""
2
Enarksh
3
4
Copyright 2013-2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
9
10
class ExitMessageEventHandler:
11
    """
12
    An event handler for a ExitMessage received events.
13
    """
14
15
    # ------------------------------------------------------------------------------------------------------------------
16
    @staticmethod
17
    def handle(event, _event_data, _listener_data):
18
        """
19
        Handles a LogFileMessage received event.
20
        
0 ignored issues
show
Coding Style introduced by
Trailing whitespace
Loading history...
21
        :param enarksh.event.Event.Event event: The event.
22
        :param * _event_data: Not used.
23
        :param * _listener_data: Not used.
24
        """
25
        del _event_data, _listener_data
26
27
        event.event_controller.exit = True
28
29
# ----------------------------------------------------------------------------------------------------------------------
30