Skip to content
Draft
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/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
runs-on: *runs-on-ubuntu
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
outputs:
python-key: ${{ steps.generate-python-key.outputs.key }}
steps:
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ Set the minimum Python syntax version to **3.13**. (Default: **3.10**)
**`--py314-plus`**
Set the minimum Python syntax version to **3.14**. (Default: **3.10**)

**`--py315-plus`**
Set the minimum Python syntax version to **3.15**. (Default: **3.10**)


## License
This Project is licensed under the MIT license.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Software Development",
]
requires-python = ">=3.10"
Expand Down
4 changes: 4 additions & 0 deletions python_typing_update/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ async def async_main(argv: list[str] | None = None) -> int:
'--py314-plus',
action='store_const', dest='min_version', const=(3, 14),
)
group_py_version.add_argument(
'--py315-plus',
action='store_const', dest='min_version', const=(3, 15),
)

argv = argv or sys.argv[1:]
args = parser.parse_args(argv)
Expand Down
1 change: 1 addition & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ async def test_main(
pytest.param(['--py312-plus']),
pytest.param(['--py313-plus']),
pytest.param(['--py314-plus']),
pytest.param(['--py315-plus']),
),
)
async def test_py_version(
Expand Down
Loading