Skip to content

Commit 7553c68

Browse files
lint: benchmarks/ in CI-Ruff-Scope + 3 Fehler gefixt (F541/F401+isort) - letzter lint-blinder Pfad (Equalita-Hinweis PR#28) (#29)
1 parent 339e5ea commit 7553c68

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python -m pip install --upgrade pip
3232
pip install -e .[dev,qutip]
3333
- name: Lint
34-
run: ruff check src tests
34+
run: ruff check src tests benchmarks
3535
- name: Type check
3636
run: mypy src/liouscope
3737
- name: Run anchor regressions (must pass)

‎benchmarks/benchmark_extended.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def main() -> None:
2929
"boundary": boundary_dephasing_jumps,
3030
"bulk_amplitude": bulk_amplitude_damping_jumps,
3131
}
32-
print(f"Geometry Dissipator Delta model beta_D a_class")
32+
print("Geometry Dissipator Delta model beta_D a_class")
3333
for geom_name, lat in geometries.items():
3434
H = ising_hamiltonian(lat, J=1.0, h=0.5)
3535
N = lat.n_sites

‎benchmarks/reproduce_paper.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
import time
1717
from pathlib import Path
1818

19-
import numpy as np
20-
2119
import liouscope as ls
2220
from liouscope.examples import all_systems
2321

0 commit comments

Comments
 (0)