Skip to content

Commit

Permalink
⬆️🪝 update pre-commit hooks (#282)
Browse files Browse the repository at this point in the history
<!--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 <stefan.hillmich@scch.at>
  • Loading branch information
pre-commit-ci[bot] and hillmich authored Aug 22, 2023
1 parent 9237103 commit 4416a6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -78,15 +78,15 @@ 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:
- black==23.7.0 # keep in sync with black hook

# 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]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4416a6f

Please sign in to comment.