diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65fa978..775bae9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: ^python/tests/__snapshots__/ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.7.3 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/python/egglog/bindings.pyi b/python/egglog/bindings.pyi index 0b41d30..bebcd79 100644 --- a/python/egglog/bindings.pyi +++ b/python/egglog/bindings.pyi @@ -264,7 +264,7 @@ class FunctionDecl: schema: Schema, default: _Expr | None = None, merge: _Expr | None = None, - merge_action: list[_Action] = [], # noqa: B006 + merge_action: list[_Action] = [], cost: int | None = None, unextractable: bool = False, ignore_viz: bool = False, @@ -298,7 +298,7 @@ class Rewrite: rhs: _Expr conditions: list[_Fact] - def __init__(self, span: Span, lhs: _Expr, rhs: _Expr, conditions: list[_Fact] = []) -> None: ... # noqa: B006 + def __init__(self, span: Span, lhs: _Expr, rhs: _Expr, conditions: list[_Fact] = []) -> None: ... @final class RunConfig: