From 5a288a4ab623fa21a9ce453374402853d6915d7f Mon Sep 17 00:00:00 2001 From: AlexWaygood Date: Sun, 22 Jan 2023 13:10:11 +0000 Subject: [PATCH] Simplify typeshed integration test --- .../integration/test_projects_using_isort.py | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/tests/integration/test_projects_using_isort.py b/tests/integration/test_projects_using_isort.py index c3a9f6b4..87ee6b40 100644 --- a/tests/integration/test_projects_using_isort.py +++ b/tests/integration/test_projects_using_isort.py @@ -66,7 +66,7 @@ def test_tmuxp(tmpdir): "--skip", "workspacebuilder.py", "--skip", - "src/tmuxp/workspace/freezer.py" + "src/tmuxp/workspace/freezer.py", ] ) @@ -78,23 +78,7 @@ def test_websockets(tmpdir): def test_typeshed(tmpdir): git_clone("https://github.com/python/typeshed.git", tmpdir) - run_isort( - ( - str(tmpdir), - "--skip", - "tests", - "--skip", - "scripts", - "--skip", - f"{tmpdir}/third_party/2and3/yaml/__init__.pyi", - "--skip", - "builtins.pyi", - "--skip", - "ast.pyi", - "--skip", - f"{tmpdir}/stdlib/venv/__init__.pyi", - ) - ) + run_isort([str(tmpdir)]) def test_pylint(tmpdir):