Commit aec0a8b1 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

pylint assorted things

parent a4402de0
......@@ -155,7 +155,7 @@ class HandBoard(Board):
without boni"""
return [x for x in self.uiTiles if x.yoffset > 0 and not x.isBonus]
def newLowerMelds(self):
def newLowerMelds(self): # pylint: disable=no-self-use
"""a list of melds for the hand as it should look after sync"""
return []
......
......@@ -30,7 +30,7 @@ class AIDefaultAI:
@property
def player(self):
"""hide weakref"""
return self._player() if self._player else None
return self._player() if self._player else None # pylint: disable=not-callable
def name(self):
"""return our name"""
......
......@@ -500,7 +500,7 @@ class ScoringGame(Game):
self.throwDices()
@Game.seed.getter
def seed(self):
def seed(self): # looks like a pylint bug pylint: disable=invalid-overridden-method
"""a scoring game never has a seed"""
return None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment