Skip to content

Commit 7fcab6c

Browse files
committed
chore(deps): bump all flakes
1 parent c7b5fb9 commit 7fcab6c

56 files changed

Lines changed: 1358 additions & 1252 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ repos:
105105
name: shellcheck
106106
language: system
107107
entry: shellcheck
108+
args: ["--shell", "bash"]
108109
types_or:
109110
- sh
110111
- shell

‎flake.lock‎

Lines changed: 39 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flake.nix‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
nixpkgs.follows = "nixpkgs";
2424
};
2525
};
26+
27+
pyproject-build-systems = {
28+
url = "github:pyproject-nix/build-system-pkgs";
29+
inputs = {
30+
pyproject-nix.follows = "pyproject-nix";
31+
uv2nix.follows = "uv2nix";
32+
nixpkgs.follows = "nixpkgs";
33+
};
34+
};
2635
};
2736

2837
outputs =
@@ -32,11 +41,12 @@
3241
, nixpkgs
3342
, pyproject-nix
3443
, uv2nix
44+
, pyproject-build-systems
3545
, ...
3646
}: {
3747
overlays.default = nixpkgs.lib.composeManyExtensions [
3848
gitignore.overlay
39-
(import ./nix/overlay.nix { inherit uv2nix pyproject-nix; })
49+
(import ./nix/overlay.nix { inherit uv2nix pyproject-nix pyproject-build-systems; })
4050
];
4151
} // flake-utils.lib.eachDefaultSystem (
4252
localSystem:

‎ibis/backends/impala/tests/test_exprs.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def test_builtins(con, alltypes):
132132
s.repeat(i1),
133133
]
134134

135-
proj_exprs = [expr.name("e%d" % i) for i, expr in enumerate(exprs)]
135+
proj_exprs = [expr.name(f"e{i:d}") for i, expr in enumerate(exprs)]
136136

137137
projection = table.select(proj_exprs)
138138
projection.limit(10).execute()
@@ -418,7 +418,7 @@ def test_decimal_timestamp_builtins(con):
418418
exprs.append(ts + offset)
419419
exprs.append(ts - offset)
420420

421-
proj_exprs = [expr.name("e%d" % i) for i, expr in enumerate(exprs)]
421+
proj_exprs = [expr.name(f"e{i:d}") for i, expr in enumerate(exprs)]
422422

423423
projection = table.select(proj_exprs).limit(10)
424424
projection.execute()
@@ -474,7 +474,7 @@ def test_aggregations(alltypes):
474474
d.var(where=cond),
475475
]
476476

477-
metrics = [expr.name("e%d" % i) for i, expr in enumerate(exprs)]
477+
metrics = [expr.name(f"e{i:d}") for i, expr in enumerate(exprs)]
478478

479479
agged_table = table.aggregate(metrics)
480480
agged_table.execute()
@@ -511,7 +511,7 @@ def test_analytic_functions(alltypes):
511511
f.max(),
512512
]
513513

514-
proj_exprs = [expr.name("e%d" % i) for i, expr in enumerate(exprs)]
514+
proj_exprs = [expr.name(f"e{i:d}") for i, expr in enumerate(exprs)]
515515

516516
proj_table = g.mutate(proj_exprs)
517517
proj_table.execute()

‎ibis/backends/impala/udf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import ibis.expr.operations as ops
2222
from ibis import util
2323

24-
__all__ = ["scalar_function", "aggregate_function", "wrap_udf", "wrap_uda"]
24+
__all__ = ["aggregate_function", "scalar_function", "wrap_uda", "wrap_udf"]
2525

2626

2727
class Function(abc.ABC):

‎ibis/backends/oracle/tests/test_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from datetime import date # noqa: TCH003
3+
from datetime import date # noqa: TC003
44

55
import oracledb
66
import pandas as pd

‎ibis/backends/polars/rewrites.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from ibis.common.annotations import attribute
88
from ibis.common.collections import FrozenDict
99
from ibis.common.patterns import replace
10-
from ibis.common.typing import VarTuple # noqa: TCH001
10+
from ibis.common.typing import VarTuple # noqa: TC001
1111
from ibis.expr.schema import Schema
1212

1313

‎ibis/backends/sql/compilers/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
__all__ = [
44
"BigQueryCompiler",
55
"ClickHouseCompiler",
6-
"DatabricksCompiler",
76
"DataFusionCompiler",
7+
"DatabricksCompiler",
88
"DruidCompiler",
99
"DuckDBCompiler",
1010
"ExasolCompiler",
@@ -16,8 +16,8 @@
1616
"PostgresCompiler",
1717
"PySparkCompiler",
1818
"RisingWaveCompiler",
19-
"SnowflakeCompiler",
2019
"SQLiteCompiler",
20+
"SnowflakeCompiler",
2121
"TrinoCompiler",
2222
]
2323

‎ibis/backends/sql/compilers/base.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class AggGen:
8080
class _Accessor:
8181
"""An internal type to handle getattr/getitem access."""
8282

83-
__slots__ = ("handler", "compiler")
83+
__slots__ = ("compiler", "handler")
8484

8585
def __init__(self, handler: Callable, compiler: SQLGlotCompiler):
8686
self.handler = handler
@@ -175,7 +175,7 @@ def __getitem__(self, key: str) -> Callable[..., sge.Anonymous]:
175175

176176

177177
class FuncGen:
178-
__slots__ = ("dialect", "namespace", "anon", "copy")
178+
__slots__ = ("anon", "copy", "dialect", "namespace")
179179

180180
def __init__(
181181
self, *, dialect: sg.Dialect, namespace: str | None = None, copy: bool = False

‎ibis/backends/sql/rewrites.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
import ibis.expr.datatypes as dt
1515
import ibis.expr.operations as ops
1616
from ibis.common.annotations import attribute
17-
from ibis.common.collections import FrozenDict # noqa: TCH001
17+
from ibis.common.collections import FrozenDict # noqa: TC001
1818
from ibis.common.deferred import var
1919
from ibis.common.graph import Graph
2020
from ibis.common.patterns import InstanceOf, Object, Pattern, replace
21-
from ibis.common.typing import VarTuple # noqa: TCH001
21+
from ibis.common.typing import VarTuple # noqa: TC001
2222
from ibis.expr.rewrites import d, p, replace_parameter
2323
from ibis.expr.schema import Schema
2424

0 commit comments

Comments
 (0)