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
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand All @@ -47,4 +47,4 @@ jobs:
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ strategy.job-index }} == 0
if: ${{ strategy.job-index == 0 }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.ruff]
target-version = "py39"
target-version = "py311"
line-length = 100
lint.isort = { known-first-party = [
"braket",
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
name="autoqasm",
version="0.2.0",
license="Apache License 2.0",
python_requires=">= 3.10",
python_requires=">= 3.11",
packages=find_namespace_packages(where="src", exclude=("test",)),
package_dir={"": "src"},
install_requires=[
Expand Down Expand Up @@ -74,7 +74,6 @@
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down
4 changes: 2 additions & 2 deletions src/autoqasm/program/pragmas.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ def pragma_example() -> None:
from __future__ import annotations

import contextlib
from enum import Enum
from enum import StrEnum
from typing import Iterable

from autoqasm import errors, program
from braket.device_schema import DeviceActionType


class PragmaType(str, Enum):
class PragmaType(StrEnum):
"""Values used in pragma statements."""

VERBATIM = "braket verbatim"
Expand Down