Skip to content

Commit cebde20

Browse files
authored
Apply python formatting (#186)
* Apply python formatting * Run fmt after gen
1 parent 8aa3f25 commit cebde20

2 files changed

Lines changed: 165 additions & 110 deletions

File tree

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,23 @@ run = "deno run -A scripts/sync-versions.ts"
3131
[tasks."gen:rust"]
3232
description = "Generate JSON schemas from the rust code"
3333
run = "cargo run --bin generate_schemas"
34+
depends_post = ["format:rust"]
3435
sources = ["src/**/*.rs", "Cargo.toml", "Cargo.lock"]
3536
outputs = ["schemas/*.json"]
3637

3738
[tasks."gen:deno"]
3839
description = "Generate the deno client"
3940
run = "deno run -A scripts/generate-schema/index.ts --language typescript"
4041
depends = ["gen:rust"]
42+
depends_post = ["format:deno"]
4143
sources = ["schemas/*", "scripts/generate-schema.ts"]
4244
outputs = ["src/clients/deno/schemas/*.ts"]
4345

4446
[tasks."gen:python"]
4547
description = "Generate the python client"
4648
run = "deno run -A scripts/generate-schema/index.ts --language python"
4749
depends = ["gen:rust"]
50+
depends_post = ["format:python"]
4851
sources = ["schemas/*", "scripts/generate-schema.ts"]
4952
outputs = ["src/clients/python/src/justbe_webview/schemas/*.py"]
5053

0 commit comments

Comments
 (0)