From b0af2574edcb58174b42286be2dee0dad941bb3f Mon Sep 17 00:00:00 2001 From: Emmanuel Owosekun Date: Wed, 31 Jul 2024 13:46:10 +0200 Subject: [PATCH] Add: import subprocess --- tests/test_isort.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_isort.py b/tests/test_isort.py index 8966eb1..f16df43 100644 --- a/tests/test_isort.py +++ b/tests/test_isort.py @@ -79,6 +79,9 @@ def test_precommit_staged(self, staged_mock, _error_mock, _ok_mock): import black import autohooks + +cmd = ["pylint", "autohooks/pluginrecommit_stages/pylint/pylint.py"] +import subprocess """ ) with temp_git_repository() as temp_dir: