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/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
CACHE_VERSION: 1
DEFAULT_PYTHON: "3.10"
DEFAULT_PYTHON: "3.11"
LIB_FOLDER: python_typing_update
PRE_COMMIT_CACHE: ~/.cache/pre-commit

Expand Down 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.11", "3.12", "3.13", "3.14"]
outputs:
python-key: ${{ steps.generate-python-key.outputs.key }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py310-plus]
args: [--py311-plus]
exclude: &fixtures ^tests/fixtures/.+\.py$
- repo: https://github.com/pycqa/flake8
rev: 7.4.1
Expand Down
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,20 +132,17 @@ Check `git diff` before committing!

### Python version options

**`--py310-plus`**
Set the minimum Python syntax version to **3.10**. This is the default.

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

**`--py312-plus`**
Set the minimum Python syntax version to **3.12**. (Default: **3.10**)
Set the minimum Python syntax version to **3.12**. (Default: **3.11**)

**`--py313-plus`**
Set the minimum Python syntax version to **3.13**. (Default: **3.10**)
Set the minimum Python syntax version to **3.13**. (Default: **3.11**)

**`--py314-plus`**
Set the minimum Python syntax version to **3.14**. (Default: **3.10**)
Set the minimum Python syntax version to **3.14**. (Default: **3.11**)


## License
Expand Down
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ignore=
load-plugins =
pylint.extensions.typing,
pylint.extensions.code_style,
py-version = 3.10
py-version = 3.11

[BASIC]
good-names =
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ keywords = ["typing", "pep585", "pep604"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development",
]
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"aiofiles==25.1.0",
"autoflake==2.4.0",
Expand Down Expand Up @@ -70,7 +69,7 @@ asyncio_default_fixture_loop_scope = "function"

[tool.mypy]
# https://mypy.readthedocs.io/en/stable/config_file.html
python_version = "3.10"
python_version = "3.11"
show_error_codes = true
ignore_missing_imports = true
strict = true
Expand Down
Loading