- self.win.addstr(height, 0, bar_start, curses.color_pair(1))
- self.win.addstr(height, len(bar_start), bar_middle, star_color)
+ self.win.addstr(height, 0, self.bar_start, curses.color_pair(1))
+ self.win.addstr(
+ height, len(self.bar_start), self.bar_middle, self.star_color
+ )