[PYLINT] Add comments and inline-if fix

I hope that now without conflict.
Change 2 line:

    nickname = self.settings['nickname']
    self.nickname = nickname

To 1 line:

    self.nickname = self.settings['nickname']