Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-15]
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-26]
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@b59d15aa4f266e713afad51e132bde6e3a28a6b3 # v1.18.1
with:
runs-on: ${{ matrix.runs-on }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-15]
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-26]
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@b59d15aa4f266e713afad51e132bde6e3a28a6b3 # v1.18.1
with:
runs-on: ${{ matrix.runs-on }}
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-15]
runs-on: [ubuntu-24.04, ubuntu-24.04-arm, macos-26]
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-cibuildwheel.yml@b59d15aa4f266e713afad51e132bde6e3a28a6b3 # v1.18.1
with:
runs-on: ${{ matrix.runs-on }}
Expand Down
3 changes: 2 additions & 1 deletion .license-tools-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
".*\\.tex",
"uv\\.lock",
"py\\.typed",
".*build.*"
".*build.*",
"LICENSE"
]
}
14 changes: 3 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ repos:
types_or: [c++, c, cuda]
priority: 1

## CMake format and lint the CMakeLists.txt files
## Format the CMakeLists.txt files
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
Expand All @@ -127,30 +127,22 @@ repos:
rev: v3.8.1
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
types_or: [yaml, markdown, html, css, scss, javascript, json, json5]
priority: 1

## Python linting using ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9
hooks:
- id: ruff-format
types_or: [python, pyi, jupyter, markdown]
priority: 1
- id: ruff-check
require_serial: true
priority: 2

# Priority 2+: Final checks and fixers

## Also run Black on examples in the documentation (needs to run after ruff format)
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.20.0
hooks:
- id: blacken-docs
language: python
additional_dependencies: [black==26.*]
priority: 2

## Static type checking using ty (needs to run after lockfile update/ruff format, and ruff lint)
- repo: local
hooks:
Expand Down
File renamed without changes.
32 changes: 18 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
# Licensed under the MIT License

[build-system]
requires = ["scikit-build-core>=0.11.6", "setuptools-scm>=9.2.2", "pennylane-catalyst~=0.14.1"]
requires = [
"scikit-build-core>=0.12.2",
"setuptools-scm>=9.2.2",
"pennylane-catalyst~=0.14.1",
]
build-backend = "scikit_build_core.build"

[project]
Expand All @@ -21,7 +25,7 @@ authors = [
]
keywords = ["MQT", "quantum-computing", "design-automation", "PennyLane", "Catalyst", "MLIR", "plugin"]
license = "MIT"
license-files = ["LICENSE.md"]
license-files = ["LICENSE"]

classifiers = [
"Development Status :: 4 - Beta",
Expand Down Expand Up @@ -162,6 +166,10 @@ unsafe-fixes = true
show-fixes = true
src = ["python"]

[tool.ruff.format]
preview = true
docstring-code-format = true

[tool.ruff.lint]
select = ["ALL"]
ignore = [
Expand Down Expand Up @@ -193,9 +201,6 @@ known-first-party = ["mqt.core.plugins.catalyst"]
[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.format]
docstring-code-format = true


[tool.typos]
default.extend-ignore-re = [
Expand All @@ -212,14 +217,13 @@ ket = "ket"
optin = "optin"


[tool.repo-review]
ignore = [
"GH200", # We use Renovate instead of Dependabot
"MY100", # We use ty instead of mypy
"PC140", # We use ty instead of mypy
"PC160", # We use a mirror of crate-ci/typos
"PC170", # We do not use rST files anymore
]
[tool.repo-review.ignore]
GH200 = "We use Renovate instead of Dependabot"
MY100 = "We use ty instead of mypy"
PC111 = "We use ruff instead of blacken-docs"
PC140 = "We use ty instead of mypy"
PC160 = "We use a mirror of crate-ci/typos"
PC170 = "We do not use rST files anymore"


[tool.cibuildwheel]
Expand Down Expand Up @@ -278,7 +282,7 @@ exclude = [

[dependency-groups]
build = [
"scikit-build-core>=0.11.6",
"scikit-build-core>=0.12.2",
"setuptools-scm>=9.2.2",
"pennylane-catalyst~=0.14.1",
]
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading