Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 26, 2025
1 parent 336e1bc commit 44d53ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/doitlive/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
wait_for,
)
from doitlive.python_consoles import PythonRecorderConsole, start_python_player
from doitlive.screencast import ScreenCaster
from doitlive.styling import THEMES, echo, echo_prompt, format_prompt
from doitlive.termutils import get_default_shell
from doitlive.screencast import ScreenCaster

env = os.environ
click_completion.init()
Expand Down Expand Up @@ -197,7 +197,9 @@ def run(
# Handle 'export' and 'alias' commands by storing them in SessionState
elif command_as_list and command_as_list[0] in ["alias", "export"]:
magictype(
command, prompt_template=state["prompt_template"], speed=state["speed"]
command,
prompt_template=state["prompt_template"],
speed=state["speed"],
)
# Store the raw commands instead of using add_envvar and add_alias
# to avoid having to parse the command ourselves
Expand Down
1 change: 0 additions & 1 deletion src/doitlive/screencast/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .main import ScreenCaster


__all__ = ["ScreenCaster"]
2 changes: 0 additions & 2 deletions src/doitlive/screencast/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from pathlib import Path
from typing import Self


Expand All @@ -14,4 +13,3 @@ def __enter__(self) -> Self:

def __exit__(self, exc_type, exc_val, exc_tb) -> None:
print("Stop recording...")

0 comments on commit 44d53ed

Please sign in to comment.