kokarare1212 / librespot-python

Private attribute declared but not used PTC-W0037
Anti-pattern
Major
2 years ago3 years old
Private attribute __conf is not used anywhere in the class StateWrapper
184
185
186class StateWrapper(MessageListener):
187    __conf: PlayerConfiguration188    __device: DeviceStateHandler
189    __player: Player
190    __session: Session
Private attribute __device is not used anywhere in the class StateWrapper
185
186class StateWrapper(MessageListener):
187    __conf: PlayerConfiguration
188    __device: DeviceStateHandler189    __player: Player
190    __session: Session
191
Private attribute __player is not used anywhere in the class StateWrapper
186class StateWrapper(MessageListener):
187    __conf: PlayerConfiguration
188    __device: DeviceStateHandler
189    __player: Player190    __session: Session
191
192    def __init__(self, session: Session, player: Player,
Private attribute __session is not used anywhere in the class StateWrapper
187    __conf: PlayerConfiguration
188    __device: DeviceStateHandler
189    __player: Player
190    __session: Session191
192    def __init__(self, session: Session, player: Player,
193                 conf: PlayerConfiguration):
Private attribute __state is not used anywhere in the class Player
 88    volume_max = 65536
 89    __conf: PlayerConfiguration
 90    __session: Session
 91    __state: StateWrapper 92
 93    def __init__(self, conf: PlayerConfiguration, session: Session):
 94        self.__conf = conf