Skip to content

Commit 4762bdd

Browse files
authored
Add support for Python 3.14 and test PyPy3.11 (#235)
2 parents 13f71a3 + ec33490 commit 4762bdd

File tree

6 files changed

+24
-8
lines changed

6 files changed

+24
-8
lines changed

.github/workflows/require-pr-label.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
with:
1818
mode: minimum
1919
count: 1
20-
labels:
21-
"changelog: Added, changelog: Changed, changelog: Deprecated, changelog:
22-
Fixed, changelog: Removed, changelog: Security, changelog: skip"
20+
labels: |
21+
changelog: Added
22+
changelog: Changed
23+
changelog: Deprecated
24+
changelog: Fixed
25+
changelog: Removed
26+
changelog: Security
27+
changelog: skip

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
16+
python-version: ["pypy3.11", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1717
os: [windows-latest, macos-latest, ubuntu-latest]
1818

1919
steps:

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ repos:
5757
hooks:
5858
- id: tox-ini-fmt
5959

60+
- repo: https://github.com/google/yamlfmt
61+
rev: v0.16.0
62+
hooks:
63+
- id: yamlfmt
64+
6065
- repo: https://github.com/rbubley/mirrors-prettier
6166
rev: v3.5.0
6267
hooks:

.yamlfmt.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
formatter:
2+
retain_line_breaks_single: true

pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
3030
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: 3.14",
3132
"Programming Language :: Python :: Implementation :: CPython",
3233
"Programming Language :: Python :: Implementation :: PyPy",
3334
"Topic :: Text Processing",
@@ -64,9 +65,9 @@ fix = true
6465
lint.select = [
6566
"C4", # flake8-comprehensions
6667
"D", # pydocstyle
67-
"E", # pycodestyle errors
68+
"E", # pycodestyle
6869
"EM", # flake8-errmsg
69-
"F", # pyflakes errors
70+
"F", # pyflakes
7071
"I", # isort
7172
"ICN", # flake8-import-conventions
7273
"ISC", # flake8-implicit-str-concat
@@ -76,7 +77,7 @@ lint.select = [
7677
"RUF022", # unsorted-dunder-all
7778
"RUF100", # unused noqa (yesqa)
7879
"UP", # pyupgrade
79-
"W", # pycodestyle warnings
80+
"W", # pycodestyle
8081
"YTT", # flake8-2020
8182
]
8283
lint.ignore = [
@@ -95,6 +96,9 @@ lint.isort.known-first-party = [ "humanize" ]
9596
lint.isort.required-imports = [ "from __future__ import annotations" ]
9697
lint.pydocstyle.convention = "google"
9798

99+
[tool.pyproject-fmt]
100+
max_supported_python = "3.14"
101+
98102
[tool.pytest.ini_options]
99103
addopts = "--color=yes"
100104
filterwarnings = [

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env_list =
55
docs
66
lint
77
mypy
8-
py{py3, 313, 312, 311, 310, 39}
8+
py{py3, 314, 313, 312, 311, 310, 39}
99

1010
[testenv]
1111
extras =

0 commit comments

Comments
 (0)