From 07a943ea493d49b03ca2350d0a0c4f2f2009d631 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:08:21 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.1...v0.7.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From 732ea74d3881f8624503cd1af595604e254cd7c2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:08:28 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/egglog/bindings.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: