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.
Completed
Push — master ( 93c974...359a3c )
by
unknown
02:27 queued 01:11
created

server/games/coop.py (1 issue)

1
from server.abc.base_game import InitMode
2
3
from .game import Game, ValidityState
0 ignored issues
show
Unable to import 'game' (invalid syntax (<string>, line 145))

This can be caused by one of the following:

1. Missing Dependencies

This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.

# .scrutinizer.yml
before_commands:
    - sudo pip install abc # Python2
    - sudo pip3 install abc # Python3
Tip: We are currently not using virtualenv to run pylint, when installing your modules make sure to use the command for the correct version.

2. Missing __init__.py files

This error could also result from missing __init__.py files in your module folders. Make sure that you place one file in each sub-folder.

Loading history...
4
5
6
class CoopGame(Game):
7
    """Class for coop game"""
8
    init_mode = InitMode.NORMAL_LOBBY
9
10
    def __init__(self, *args, **kwargs):
11
        super().__init__(*args, **kwargs)
12
13
        self.validity = ValidityState.COOP_NOT_RANKED
14