Skip to content

Commit 4124a9c

Browse files
author
matt windows
committed
bug python -m
1 parent a991d4e commit 4124a9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pixi.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ profile-minibatch = { cmd = '''python -c "import cProfile; import numpy as np; f
118118
time-narx = '''python -m timeit -n 1 -s "import numpy as np; from fastcan.narx import make_narx; rng = np.random.default_rng(5); X = rng.random((1000, 10)); y = rng.random((1000, 2)); m = make_narx(X, y, 10, max_delay=2, poly_degree=2, verbose=0)" "m.fit(X, y, coef_init='one_step_ahead', verbose=1)"'''
119119

120120
[tool.pixi.feature.asv.tasks]
121-
asv-build = { cmd = "asv machine --machine $MACHINE --yes && asv run --show-stderr -v --machine $MACHINE $EXTRA_ARGS", cwd = "asv_benchmarks", env = { MACHINE = "MacOS-M1", EXTRA_ARGS = "" } }
122-
asv-publish = { cmd = "asv publish", cwd = "asv_benchmarks" }
123-
asv-preview = { cmd = "asv preview", cwd = "asv_benchmarks", depends-on = ["asv-publish"] }
121+
asv-build = { cmd = "python -m asv machine --machine $MACHINE --yes && python -m asv run --show-stderr -v --machine $MACHINE $EXTRA_ARGS", cwd = "asv_benchmarks", env = { MACHINE = "MacOS-M1", EXTRA_ARGS = "" } }
122+
asv-publish = { cmd = "python -m asv publish", cwd = "asv_benchmarks" }
123+
asv-preview = { cmd = "python -m asv preview", cwd = "asv_benchmarks", depends-on = ["asv-publish"] }
124124

125125
[tool.pixi.feature.test.tasks]
126126
test = { cmd = "pytest", cwd = "." }

0 commit comments

Comments
 (0)