From d745064116802fb18cb0651afa686301c63d6dcc Mon Sep 17 00:00:00 2001 From: Jonathan Slenders Date: Wed, 27 Aug 2025 11:30:30 +0000 Subject: [PATCH 1/2] Fix positioning of exit confirmation (compatibilitiy with latest prompt_toolkit). --- src/ptpython/layout.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ptpython/layout.py b/src/ptpython/layout.py index 9768598..8d030dd 100644 --- a/src/ptpython/layout.py +++ b/src/ptpython/layout.py @@ -694,7 +694,8 @@ def menu_position() -> int | None: ), Float( left=2, - bottom=1, + top=2, + height=3, content=self.exit_confirmation, ), Float( From 37ae6d4c8115792b428fa93bc7dcd8233920bda1 Mon Sep 17 00:00:00 2001 From: Jonathan Slenders Date: Wed, 27 Aug 2025 11:36:57 +0000 Subject: [PATCH 2/2] Upgrade ruff check to Python 3.8. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 00e2d5f..9912c73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ strict_optional = true [tool.ruff] -target-version = "py37" +target-version = "py38" lint.select = [ "E", # pycodestyle errors "W", # pycodestyle warnings