Skip to content

Commit 2e93a46

Browse files
ci: [pre-commit.ci] pre-commit autoupdate (#1354)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.0](astral-sh/ruff-pre-commit@v0.14.14...v0.15.0) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 09f502f commit 2e93a46

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: debug-statements
1313
- id: mixed-line-ending
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.14.14
15+
rev: v0.15.0
1616
hooks:
1717
- id: ruff-check
1818
- id: ruff-format

package/PartSeg/_roi_mask/batch_proceed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class BatchProceed(QThread):
3535
def __init__(self):
3636
super().__init__()
3737
self.queue = Queue()
38-
self.algorithm = Optional[None]
38+
self.algorithm = None
3939
self.parameters = None
4040
self.file_list = []
4141
self.index = 0

0 commit comments

Comments
 (0)