Skip to content

Commit

Permalink
refactor: fix line length errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Mar 13, 2024
1 parent 333ee1d commit 8989617
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/get_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@

try:
from curses import window

# from curses import wrapper # pyright: ignore
from src.working_initscr import wrapper # pyright: ignore

_DEFAULT_TKINTER_GUI = False
except ImportError:

def wrapper(_: Any, *args: Any, **kwargs: Any) -> Any: # pylint: disable=missing-function-docstring
def wrapper( # pylint: disable=missing-function-docstring
_: Any, *args: Any, **kwargs: Any
) -> Any:
_ = (args, kwargs)
return _CHECKBOX_OPTIONS[1]

Expand Down
6 changes: 5 additions & 1 deletion src/print_todos.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ def _get_display_string(


def _print_todo(
stdscr: curses.window, todo: Todo, display_string: str, position: int, highlight: range
stdscr: curses.window,
todo: Todo,
display_string: str,
position: int,
highlight: range,
) -> None:
counter = 0
while counter < len(display_string) - 1:
Expand Down

0 comments on commit 8989617

Please sign in to comment.