Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️πŸͺ update pre-commit hooks #509

Merged
merged 5 commits into from
Aug 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
⬆️ update pre-commit hooks
Signed-off-by: burgholzer <burgholzer@me.com>
burgholzer committed Aug 30, 2024
commit 5f0b0dd948165b9018a9e1cd884e261ff227cfe9
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ repos:

# Python linting using ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.2
rev: v0.6.3
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
@@ -140,6 +140,6 @@ repos:

# Check the pyproject.toml file
- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2024.08.19
rev: 2024.08.26
hooks:
- id: validate-pyproject
4 changes: 2 additions & 2 deletions docs/source/Mapping.ipynb
Original file line number Diff line number Diff line change
@@ -146,7 +146,7 @@
"metadata": {},
"outputs": [],
"source": [
"print(\"Additional SWAPs: %d\" % res.output.swaps)\n",
"print(f\"Additional SWAPs: {res.output.swaps}\")\n",
"print(f\"Runtime: {res.time:f}\")"
]
},
@@ -196,7 +196,7 @@
"metadata": {},
"outputs": [],
"source": [
"print(\"Additional SWAPs: %d\" % res.output.swaps)\n",
"print(f\"Additional SWAPs: {res.output.swaps}\")\n",
"print(f\"Runtime: {res.time:f}\")"
]
},
8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -179,7 +179,6 @@ ignore_missing_imports = true

[tool.ruff]
line-length = 120
src = ["src"]
preview = true
unsafe-fixes = true

@@ -270,13 +269,6 @@ aer = "aer"
iy = "iy"


[tool.repo-review]
ignore = [
"PC160", # "Uses codespell" -> switched to https://github.com/crate-ci/typos
"PC180", # "Uses prettier" -> switched to different prettier-mirror that is not recognized by the check
]


[tool.cibuildwheel]
build = "cp3*"
skip = "*-musllinux*"