Skip to content

Commit bbc2301

Browse files
authored
update pre-commit (#436)
1 parent 0a60b0b commit bbc2301

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ repos:
99
- id: end-of-file-fixer
1010
- id: trailing-whitespace
1111
- repo: https://github.com/pycqa/isort
12-
rev: 5.13.2
12+
rev: 6.0.1
1313
hooks:
1414
- id: isort
1515
name: isort (python)
1616
- repo: https://github.com/psf/black
17-
rev: 24.10.0
17+
rev: 25.1.0
1818
hooks:
1919
- id: black
2020
- repo: https://github.com/charliermarsh/ruff-pre-commit
2121
# Ruff version.
22-
rev: "v0.7.1"
22+
rev: "v0.12.1"
2323
hooks:
2424
- id: ruff

src/kirin/ir/nodes/block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def delete(self, safe: bool = True) -> None:
369369
for stmt in self.stmts:
370370
stmt.delete(safe=safe)
371371

372-
def is_structurally_equal(
372+
def is_structurally_equal( # pyright: ignore[reportIncompatibleMethodOverride]
373373
self,
374374
other: Self,
375375
context: dict[IRNode | SSAValue, IRNode | SSAValue] | None = None,

src/kirin/ir/nodes/region.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def delete(self, safe: bool = True) -> None:
242242
self.detach()
243243
self.drop_all_references()
244244

245-
def is_structurally_equal(
245+
def is_structurally_equal( # pyright: ignore[reportIncompatibleMethodOverride]
246246
self,
247247
other: Self,
248248
context: dict[IRNode | SSAValue, IRNode | SSAValue] | None = None,

src/kirin/ir/nodes/stmt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def walk(
537537
if include_self and region_first:
538538
yield self
539539

540-
def is_structurally_equal(
540+
def is_structurally_equal( # pyright: ignore[reportIncompatibleMethodOverride]
541541
self,
542542
other: Self,
543543
context: dict[IRNode | SSAValue, IRNode | SSAValue] | None = None,

0 commit comments

Comments
 (0)