Skip to content

Commit

Permalink
add benchmarks/ to CI checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Nov 5, 2023
1 parent aca440c commit 151b7ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions benchmarks/rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
apply_givens_rotation_in_place,
apply_single_column_transformation_in_place,
)
from ffsim.gates.orbital_rotation import (
_zero_one_subspace_indices,
gen_orbital_rotation_index,
)
from ffsim._slow.gates.orbital_rotation import (
apply_givens_rotation_in_place_slow,
apply_single_column_transformation_in_place_slow,
)
from ffsim.gates.orbital_rotation import (
_zero_one_subspace_indices,
gen_orbital_rotation_index,
)


class RustBenchmark:
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ description = run type check
extras =
dev
commands =
mypy python/ tests/
mypy python/ tests/ benchmarks/

[testenv:lint]
description = check for lint
extras =
dev
commands =
ruff python/ tests/
ruff python/ tests/ benchmarks/

[testenv:format]
description = check formatting
extras =
dev
allowlist_externals = cargo
commands =
black --check python/ tests/ docs/tutorials
black --check python/ tests/ benchmarks/ docs/tutorials
cargo fmt --all -- --check

[testenv:docs]
Expand Down

0 comments on commit 151b7ce

Please sign in to comment.