Skip to content

Commit

Permalink
Prefix unused unpacked variables with underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Sep 27, 2023
1 parent 2efdc9c commit f12d023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widgets/_text_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ def cursor_screen_offset(self) -> Offset:
"""The offset of the cursor relative to the screen."""
cursor_row, cursor_column = self.cursor_location
scroll_x, scroll_y = self.scroll_offset
region_x, region_y, width, height = self.content_region
region_x, region_y, _width, _height = self.content_region

offset_x = (
region_x
Expand Down

0 comments on commit f12d023

Please sign in to comment.