Skip to content

Commit

Permalink
Disable troublesome pylint errors temporarily (refs #35)
Browse files Browse the repository at this point in the history
  • Loading branch information
geckon committed May 7, 2018
1 parent 344bfab commit 2ad1823
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hockepy/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class GameStatus(Enum):
FINAL = 3

def __str__(self):
# pylint: disable=no-member
# (pylint bug - see github issue #35)
return self.name.lower()


Expand All @@ -72,4 +74,6 @@ class GameType(Enum):
PLAYOFFS = (3, "PO")

def __str__(self):
# pylint: disable=unsubscriptable-object
# (pylint bug - see github issue #35)
return self.value[1]

0 comments on commit 2ad1823

Please sign in to comment.