Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: debug-statements
- id: mixed-line-ending
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
- repo: https://github.com/pre-commit/pygrep-hooks
Expand All @@ -36,7 +36,7 @@ repos:
- mdformat-toc

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.11.2' # Use the sha / tag you want to point at
rev: 'v1.12.1' # Use the sha / tag you want to point at
hooks:
- id: mypy
files: ^package/PartSegImage/.+\.py
Expand Down
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