Skip to content

Commit 92020f7

Browse files
committed
fix: codegen with pixi only
1 parent ac43d32 commit 92020f7

File tree

5 files changed

+1284
-1482
lines changed

5 files changed

+1284
-1482
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
codegen: antlr codegen-proto codegen-extensions codegen-version
22

3-
43
antlr:
54
cd third_party/substrait/grammar \
65
&& antlr4 -o ../../../src/substrait/gen/antlr -Dlanguage=Python3 SubstraitType.g4 \
@@ -13,16 +12,17 @@ codegen-version:
1312
&& echo '"' >> src/substrait/gen/version.py
1413

1514
codegen-proto:
16-
uv run --group gen_proto ./gen_proto.sh
15+
./gen_proto.sh
1716

1817
codegen-extensions:
19-
uv run --group gen_extensions datamodel-codegen \
18+
datamodel-codegen \
2019
--input-file-type jsonschema \
2120
--input third_party/substrait/text/simple_extensions_schema.yaml \
2221
--output src/substrait/gen/json/simple_extensions.py \
2322
--output-model-type dataclasses.dataclass \
2423
--target-python-version 3.10 \
25-
--disable-timestamp
24+
--disable-timestamp \
25+
--formatters ruff-format
2626

2727
lint:
2828

0 commit comments

Comments
 (0)