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/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.11", "3.12", "3.13"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, before and after are two disjoint sets.


steps:
- uses: actions/checkout@v6
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
name="amazon-braket-build-tools",
version=version,
license="Apache License 2.0",
python_requires=">= 3.8",
python_requires=">= 3.11",
packages=find_namespace_packages(where="src", exclude=("test",)),
package_dir={"": "src"},
install_requires=["flake8"],
Expand Down Expand Up @@ -57,8 +57,8 @@
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's even more hilarious that this list was mismatched with setup.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, apparently our CI has not been installing this package from PyPI.

"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
)
6 changes: 3 additions & 3 deletions src/braket/flake8_plugins/braket_checkstyle_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
import ast
import re
from dataclasses import dataclass
from enum import Enum
from enum import StrEnum
from typing import Any, Generator, Optional, Set, Tuple, Type

import braket._build_tools._version as build_tools_version


class DocSection(str, Enum):
class DocSection(StrEnum):
DESCRIPTION = "DESCRIPTION"
ARGUMENTS = "ARGUMENTS"
RETURN_FIRST_LINE = "RETURN_FIRST_LINE"
RETURN_REST = "RETURN_REST"
MISC = "MISC"


class ArgType(str, Enum):
class ArgType(StrEnum):
DEFAULT = "DEFAULT"
KEYWORD = "KEYWORD"

Expand Down