From f605a4169a7aae2a2274ea00da1db151990e7238 Mon Sep 17 00:00:00 2001 From: Kshitij Aranke Date: Thu, 8 Aug 2024 14:56:13 -0500 Subject: [PATCH] cleanup --- dbt_common/clients/system.py | 1 - tests/unit/test_system_client.py | 1 - 2 files changed, 2 deletions(-) diff --git a/dbt_common/clients/system.py b/dbt_common/clients/system.py index 4ca39ad..62a2519 100644 --- a/dbt_common/clients/system.py +++ b/dbt_common/clients/system.py @@ -52,7 +52,6 @@ class FindMatchingParams: root_path: str relative_paths_to_search: List[str] file_pattern: str - # ignore_spec: Optional[PathSpec] = None def __init__( diff --git a/tests/unit/test_system_client.py b/tests/unit/test_system_client.py index 40adafd..34c6f49 100644 --- a/tests/unit/test_system_client.py +++ b/tests/unit/test_system_client.py @@ -280,7 +280,6 @@ def test_untar_package_outside_directory(self) -> None: with tarfile.open(fileobj=named_tar_file, mode="w:gz") as tar: tar.addfile(tarfile.TarInfo(relative_file_a), open(file_a.name)) - # now we test can test that we can untar the file successfully assert tarfile.is_tarfile(tar.name) with self.assertRaises(tarfile.OutsideDestinationError): dbt_common.clients.system.untar_package(tar_file_full_path, self.tempdest)