Skip to content

Commit

Permalink
Add Python 3.14 support
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Nov 4, 2024
1 parent b613ebb commit 69f6d63
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 89 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_on_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Stubs consistency check
if: "${{ github.event.inputs.force != 'true' }}"
run: |
uv run istub -d
uv run --no-sync istub -d
- name: Bump version
run: |
echo "Bumping version to ${STUBS_VERSION}"
Expand Down
1 change: 1 addition & 0 deletions awscrt-stubs/checksums.pyi
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
def crc32(input: bytes, previous_crc32: int = ...) -> int: ...
def crc32c(input: bytes, previous_crc32c: int = ...) -> int: ...
def crc64nvme(input: bytes, previous_crc64nvme: int = 0) -> int: ...
15 changes: 2 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Stubs Only",
Expand Down Expand Up @@ -84,19 +85,7 @@ indent-width = 4
target-version = "py38"

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B", "I", "N", "D", "C4", "C90", "RUF"]
ignore = [
"E203",
"D107",
"D200",
"D203",
"D212",
"D401",
"D406",
"D407",
"D413",
"D417",
]
select = ["E4", "E7", "E9", "F", "B", "I", "N", "C4", "C90", "RUF"]
fixable = ["ALL"]
unfixable = ["B"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
Expand Down
Loading

0 comments on commit 69f6d63

Please sign in to comment.