Skip to content

Commit

Permalink
refactor: autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Mar 18, 2024
1 parent 44e60eb commit 44c31ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tcurses.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ def timeout(self, delay: int) -> None:

def _parse_attrs(self, attrs: int) -> list[str]:
possible_attrs: dict[int, str] = dict(
(value, name)
for name, value in globals().items()
if isinstance(value, int)
(value, name) for name, value in globals().items() if isinstance(value, int)
)
possible_returns = {
"A_BOLD": "bold",
Expand Down

0 comments on commit 44c31ed

Please sign in to comment.