diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 82b1bf8..0eaa03e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2fac8eb..50ca0e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/README.md b/README.md index 4146560..d0bd495 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pylintrc b/pylintrc index 0cd42fe..05676d7 100644 --- a/pylintrc +++ b/pylintrc @@ -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 = diff --git a/pyproject.toml b/pyproject.toml index 1f56805..fad71b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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