Skip to content

Commit 98e235d

Browse files
committed
🎨 Apply suggestions from coderabbit
1 parent 71dc62e commit 98e235d

File tree

11 files changed

+35
-34
lines changed

11 files changed

+35
-34
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@ body:
1111
**Thanks for taking the time to report an issue!**
1212
1313
⚠ Before submitting:
14-
1. Search [existing issues](https://github.com/munich-quantum-toolkit/core/search?q=is%3Aissue&type=issues) to avoid duplicates
15-
2. For questions or discussions, please use our [discussions forum](https://github.com/munich-quantum-toolkit/core/discussions)
14+
1. Search [existing issues](https://github.com/munich-quantum-toolkit/core-plugins-catalyst/search?q=is%3Aissue&type=issues) to avoid duplicates
15+
2. For questions or discussions, please use our [discussions forum](https://github.com/munich-quantum-toolkit/core-plugins-catalyst/discussions)
1616
1717
- type: textarea
1818
attributes:
1919
label: System and Environment Information
2020
description: Provide details about your environment.
2121
placeholder: |
2222
- Operating system and version:
23+
- MQT Core Catalyst Plugin version:
2324
- MQT Core version:
25+
- Catalyst version:
2426
- Language versions (e.g., C++, Python, Rust, ...):
2527
- Compiler or build tool versions (e.g., Clang, GCC, rustc, ...):
2628
- Any relevant dependencies and their versions:

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body:
1111
**Thanks for helping improve this project by suggesting a feature!**
1212
1313
⚠ Before submitting:
14-
- Search [existing feature requests](https://github.com/munich-quantum-toolkit/core/search?q=is%3Aissue&type=issues) to avoid duplicates
14+
- Search [existing feature requests](https://github.com/munich-quantum-toolkit/core-plugins-catalyst/search?q=is%3Aissue&type=issues) to avoid duplicates
1515
- One feature per issue helps us track and implement ideas effectively
1616
1717
- type: textarea

.github/SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Security updates are applied only to the most recent releases.
1212
To report vulnerabilities, you can privately report a potential security issue
1313
via the GitHub security vulnerabilities feature. This can be done here:
1414

15-
https://github.com/munich-quantum-toolkit/core/security/advisories
15+
https://github.com/munich-quantum-toolkit/core-plugins-catalyst/security/advisories
1616

1717
Please do **not** open a public issue about a potential security vulnerability.
1818

.github/SUPPORT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Support
55

6-
If you are stuck with a problem using MQT Core or have questions, please get in touch at our [Issues] or [Discussions].
6+
If you are stuck with a problem using MQT Core Catalyst Plugin or have questions, please get in touch at our [Issues] or [Discussions].
77
We'd love to help.
88

99
You can save time by following this procedure when reporting a problem:
@@ -15,5 +15,5 @@ You can save time by following this procedure when reporting a problem:
1515

1616
You can also always reach us at [[email protected]](mailto:[email protected]).
1717

18-
[Issues]: https://github.com/munich-quantum-toolkit/core/issues
19-
[Discussions]: https://github.com/munich-quantum-toolkit/core/discussions
18+
[Issues]: https://github.com/munich-quantum-toolkit/core-plugins-catalyst/issues
19+
[Discussions]: https://github.com/munich-quantum-toolkit/core-plugins-catalyst/discussions

.github/renovate.json5

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$schema: "https://docs.renovatebot.com/renovate-schema.json",
33
extends: ["config:recommended", ":gitSignOff", "helpers:pinGitHubActionDigestsToSemver"],
44
prHourlyLimit: 10,
5-
enabledManagers: ["cargo", "github-actions", "npm", "pep621", "pre-commit"],
5+
enabledManagers: ["github-actions", "npm", "pep621", "pre-commit"],
66
"pre-commit": {
77
enabled: true
88
},
@@ -14,11 +14,6 @@
1414
labels: ["dependencies"],
1515
schedule: ["every weekend"],
1616
packageRules: [
17-
{
18-
matchManagers: ["cargo"],
19-
addLabels: ["rust"],
20-
commitMessagePrefix: "⬆\uFE0F\uD83E\uDD80"
21-
},
2217
{
2318
matchManagers: ["github-actions"],
2419
addLabels: ["github-actions"],
@@ -51,7 +46,7 @@
5146
},
5247
{
5348
description: "Automerge minor updates for stable dependencies",
54-
matchManagers: ["cargo", "npm", "pep621", "pre-commit"],
49+
matchManagers: ["npm", "pep621", "pre-commit"],
5550
matchUpdateTypes: ["minor", "patch"],
5651
matchCurrentVersion: "!/^0/",
5752
automerge: true

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
name: 🇨‌ Lint
156156
needs: change-detection
157157
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)
158-
uses: munich-quantum-toolkit/workflows/.github/workflows/[email protected]
158+
uses: munich-quantum-toolkit/workflows/.github/workflows/reusable-cpp-linter.yml@ea4fccbb432596cbb6840a9608d6376b6b2c8ff7 # v1.17.2
159159
with:
160160
clang-version: 21
161161
build-project: true

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ _📚 Refer to the [GitHub Release Notes](https://github.com/munich-quantum-tool
1919

2020
<!-- Version links -->
2121

22-
[unreleased]: https://github.com/munich-quantum-toolkit/core-plugins-catalyst/compare/v0.1.0...HEAD
23-
[0.1.0]: https://github.com/munich-quantum-toolkit/core-plugins-catalyst/releases/tag/v0.1.0
22+
[unreleased]: https://github.com/munich-quantum-toolkit/core-plugins-catalyst/compare/v0.0.0...HEAD
23+
[0.0.0]: https://github.com/munich-quantum-toolkit/core-plugins-catalyst/releases/tag/v0.0.0
2424

2525
<!-- PR links -->
2626

@@ -38,7 +38,7 @@ _📚 Refer to the [GitHub Release Notes](https://github.com/munich-quantum-tool
3838
[Keep a Changelog]: https://keepachangelog.com/en/1.1.0/
3939
[Common Changelog]: https://common-changelog.org
4040
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
41-
[GitHub Release Notes]: https://github.com/munich-quantum-toolkit/core/releases
41+
[GitHub Release Notes]: https://github.com/munich-quantum-toolkit/core-plugins-catalyst/releases
4242
[munich-quantum-toolkit]: https://github.com/munich-quantum-toolkit
4343
[PEP 639]: https://peps.python.org/pep-0639/
4444
[PEP 735]: https://peps.python.org/pep-0735/

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@ project(
1414
LANGUAGES C CXX
1515
DESCRIPTION "An MLIR-plugin for connecting MQT Core with Xanadu's Catalyst")
1616

17+
set(CMAKE_CXX_STANDARD 20)
18+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
19+
set(CMAKE_CXX_EXTENSIONS OFF)
20+
1721
add_custom_target(core-plugins-catalyst COMMAND ${CMAKE_COMMAND} -E echo
1822
"Building core-plugins-catalyst")

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![DOI](https://img.shields.io/badge/JOSS-10.21105/joss.07478-blue.svg?style=flat-square)](https://doi.org/10.21105/joss.07478)
55
[![CI](https://img.shields.io/github/actions/workflow/status/munich-quantum-toolkit/core-plugins-catalyst/ci.yml?branch=main&style=flat-square&logo=github&label=ci)](https://github.com/munich-quantum-toolkit/core-plugins-catalyst/actions/workflows/ci.yml)
66
[![CD](https://img.shields.io/github/actions/workflow/status/munich-quantum-toolkit/core-plugins-catalyst/cd.yml?style=flat-square&logo=github&label=cd)](https://github.com/munich-quantum-toolkit/core-plugins-catalyst/actions/workflows/cd.yml)
7-
[![Documentation](https://img.shields.io/readthedocs/mqt-core?logo=readthedocs&style=flat-square)](https://mqt.readthedocs.io/projects/core-plugins-catalyst)
7+
[![Documentation](https://img.shields.io/readthedocs/core-plugins-catalyst?logo=readthedocs&style=flat-square)](https://mqt.readthedocs.io/projects/core-plugins-catalyst)
88
[![codecov](https://img.shields.io/codecov/c/github/munich-quantum-toolkit/core-plugins-catalyst?style=flat-square&logo=codecov)](https://codecov.io/gh/munich-quantum-toolkit/core-plugins-catalyst)
99

1010
> [!NOTE]

noxfile.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,12 @@
4141
@contextlib.contextmanager
4242
def preserve_lockfile() -> Generator[None]:
4343
"""Preserve the lockfile by moving it to a temporary directory."""
44+
lockfile = Path("uv.lock")
45+
if not lockfile.exists():
46+
yield
47+
return
4448
with tempfile.TemporaryDirectory() as temp_dir_name:
45-
shutil.move("uv.lock", f"{temp_dir_name}/uv.lock")
49+
shutil.move(lockfile, f"{temp_dir_name}/uv.lock")
4650
try:
4751
yield
4852
finally:
@@ -89,7 +93,7 @@ def _run_tests(
8993
"--inexact",
9094
"--no-dev", # do not auto-install dev dependencies
9195
"--no-build-isolation-package",
92-
"mqt-core", # build the project without isolation
96+
"core-plugins-catalyst", # build the project without isolation
9397
*install_args,
9498
env=env,
9599
)
@@ -188,7 +192,7 @@ def docs(session: nox.Session) -> None:
188192
"run",
189193
"--no-dev", # do not auto-install dev dependencies
190194
"--no-build-isolation-package",
191-
"mqt-core", # build the project without isolation
195+
"core-plugins-catalyst", # build the project without isolation
192196
"sphinx-autobuild" if serve else "sphinx-build",
193197
*shared_args,
194198
env=env,

0 commit comments

Comments
 (0)