Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aranke committed Aug 8, 2024
1 parent 211e760 commit f605a41
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion dbt_common/clients/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_system_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f605a41

Please sign in to comment.