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.
Test Setup Failed
Push — master ( 19fcc2...697e45 )
by P.R.
03:59
created

JobFinallyDoneEventHandler.handle()   A

Complexity

Conditions 1

Size

Total Lines 14

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 14
rs 9.4285
1
"""
2
Enarksh
3
4
Copyright 2013-2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
9
10
class JobFinallyDoneEventHandler:
11
    """
12
    The event handler for a job finally done event.
13
    """
14
15
    @staticmethod
16
    # ------------------------------------------------------------------------------------------------------------------
17
    def handle(_event, _event_data, listener_data):
18
        """
19
        Handles a SpawnJobMessage received event.
20
        
0 ignored issues
show
Coding Style introduced by
Trailing whitespace
Loading history...
21
        :param * _event: Not used.
22
        :param * _event_data: Not used.
23
        :param (enarksh.spawner.Spawner.Spawner,int) listener_data: The spawner and the PID of the processes of the job.
24
        """
25
        del _event, _event_data
26
27
        spawner, pid = listener_data
28
        spawner.remove_job_handler(pid)
29
30
        # ----------------------------------------------------------------------------------------------------------------------
0 ignored issues
show
Coding Style introduced by
This line is too long as per the coding-style (128/120).

This check looks for lines that are too long. You can specify the maximum line length.

Loading history...
31