From 43d99068368600c4b1bbd21cfe5018b6afb3a8d7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Aug 2023 20:05:18 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=AA=9D=20update=20p?= =?UTF-8?q?re-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.284 → v0.0.285](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.284...v0.0.285) - [github.com/asottile/blacken-docs: 1.15.0 → 1.16.0](https://github.com/asottile/blacken-docs/compare/1.15.0...1.16.0) - [github.com/pre-commit/mirrors-prettier: v3.0.1 → v3.0.2](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.1...v3.0.2) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9329e022..ffa3e4ef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,7 +65,7 @@ repos: types_or: [c++, c, cuda] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.284 + rev: v0.0.285 hooks: - id: ruff args: ["--fix"] @@ -78,7 +78,7 @@ repos: # Also run Black on examples in the documentation - repo: https://github.com/asottile/blacken-docs - rev: 1.15.0 + rev: 1.16.0 hooks: - id: blacken-docs additional_dependencies: @@ -86,7 +86,7 @@ repos: # Format configuration files with prettier - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.1" + rev: "v3.0.2" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] From 9d00b7ed54f7b5b63a80bec09b120f76762e851a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Aug 2023 20:05:34 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=8E=A8=20pre-commit=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aaa074ac..26e85dd8 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ circ.cx(0, 2) print(circ.draw(fold=-1)) -backend = ddsim.DDSIMProvider().get_backend('qasm_simulator') +backend = ddsim.DDSIMProvider().get_backend("qasm_simulator") job = execute(circ, backend, shots=10000) counts = job.result().get_counts(circ) From 53dcdac660a6ab0f036d97eb992e8dc067fb4f1c Mon Sep 17 00:00:00 2001 From: Stefan Hillmich Date: Tue, 22 Aug 2023 11:09:28 +0200 Subject: [PATCH 3/3] Require Sphinx version <7 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e0fd04a4..7ba0555d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ coverage = [ "pytest-cov" ] docs = [ - "sphinx>=5", + "sphinx>=5,<7", "sphinx-rtd-theme", "sphinx-rtd-dark-mode", "sphinxcontrib-bibtex>=2.4.2",