Skip to content

Commit

Permalink
ignore false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Oct 22, 2024
1 parent 39afb47 commit db05444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_utils/create_and_pack_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def create_archive(working_dir):
file_path = get_file_path(working_dir)
if file_path.endswith(".zip"):
return zipfile.ZipFile(file_path, "w", zipfile.ZIP_DEFLATED)
arch_file = tarfile.open(file_path, "w:gz")
arch_file = tarfile.open(file_path, "w:gz") # noqa: SIM115
arch_file.write = arch_file.add
return arch_file

Expand Down

0 comments on commit db05444

Please sign in to comment.