From e8f0f80de30965734a93e855293f417ce444e943 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 17:21:47 +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.16.4 → v0.16.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.4...v0.16.5) --- .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 60cf362..feb737a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: trailing-whitespace - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.4 + rev: v0.16.5 hooks: - id: ruff - id: ruff-format From 7c3034c28d1eaf4c80ba6033fc1481d2b8a57b4d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 17:22:16 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b4ffcb0..4a4c6b3 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ pip install pyprql[polars] import pandas as pd import pyprql.pandas_accessor -df = (...) +df = ... results_df = df.prql.query("select {age, name, occupation} | filter age > 21") ``` @@ -49,7 +49,7 @@ results_df = df.prql.query("select {age, name, occupation} | filter age > 21") import polars as pl import pyprql.polars_namespace -df = (...) +df = ... results_df = df.prql.query("select {age, name, occupation} | filter age > 21") ``` @@ -75,6 +75,7 @@ This library exposes `prqlc.compile`, so we can simply generate SQL: ```python import pyprql + pyprql.compile("from artists | select track") print(pyprql.compile("from artists | select track")) ```