From e3a77eedac273ede41223da0e40e6535785b9e0d Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 9 Oct 2026 20:45:45 +0200 Subject: [PATCH] Additional cleanup after dropping support for Python 3.10 --- python_typing_update/__main__.py | 8 ++------ tests/test_main.py | 1 - 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/python_typing_update/__main__.py b/python_typing_update/__main__.py index 81d40d9..110082b 100644 --- a/python_typing_update/__main__.py +++ b/python_typing_update/__main__.py @@ -105,14 +105,10 @@ async def async_main(argv: list[str] | None = None) -> int: ) group_py_version = py_version_options.add_mutually_exclusive_group() - group_py_version.add_argument( - '--py310-plus', - action='store_const', dest='min_version', const=(3, 10), default=(3, 10), - help="Default" - ) group_py_version.add_argument( '--py311-plus', - action='store_const', dest='min_version', const=(3, 11), + action='store_const', dest='min_version', const=(3, 11), default=(3, 11), + help="Default", ) group_py_version.add_argument( '--py312-plus', diff --git a/tests/test_main.py b/tests/test_main.py index 19826c8..c72b195 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -106,7 +106,6 @@ async def test_main( @pytest.mark.parametrize( ('argv',), ( - pytest.param(['--py310-plus']), pytest.param(['--py311-plus']), pytest.param(['--py312-plus']), pytest.param(['--py313-plus']),