Skip to content

Commit 4416a6f

Browse files
⬆️🪝 update pre-commit hooks (#282)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.0.284 → v0.0.285](astral-sh/ruff-pre-commit@v0.0.284...v0.0.285) - [github.com/asottile/blacken-docs: 1.15.0 → 1.16.0](adamchainz/blacken-docs@1.15.0...1.16.0) - [github.com/pre-commit/mirrors-prettier: v3.0.1 → v3.0.2](pre-commit/mirrors-prettier@v3.0.1...v3.0.2) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Stefan Hillmich <[email protected]>
1 parent 9237103 commit 4416a6f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ repos:
6565
types_or: [c++, c, cuda]
6666

6767
- repo: https://github.com/astral-sh/ruff-pre-commit
68-
rev: v0.0.284
68+
rev: v0.0.285
6969
hooks:
7070
- id: ruff
7171
args: ["--fix"]
@@ -78,15 +78,15 @@ repos:
7878

7979
# Also run Black on examples in the documentation
8080
- repo: https://github.com/asottile/blacken-docs
81-
rev: 1.15.0
81+
rev: 1.16.0
8282
hooks:
8383
- id: blacken-docs
8484
additional_dependencies:
8585
- black==23.7.0 # keep in sync with black hook
8686

8787
# Format configuration files with prettier
8888
- repo: https://github.com/pre-commit/mirrors-prettier
89-
rev: "v3.0.1"
89+
rev: "v3.0.2"
9090
hooks:
9191
- id: prettier
9292
types_or: [yaml, markdown, html, css, scss, javascript, json]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ circ.cx(0, 2)
4747

4848
print(circ.draw(fold=-1))
4949

50-
backend = ddsim.DDSIMProvider().get_backend('qasm_simulator')
50+
backend = ddsim.DDSIMProvider().get_backend("qasm_simulator")
5151

5252
job = execute(circ, backend, shots=10000)
5353
counts = job.result().get_counts(circ)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ coverage = [
5757
"pytest-cov"
5858
]
5959
docs = [
60-
"sphinx>=5",
60+
"sphinx>=5,<7",
6161
"sphinx-rtd-theme",
6262
"sphinx-rtd-dark-mode",
6363
"sphinxcontrib-bibtex>=2.4.2",

0 commit comments

Comments
 (0)