diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b3ddcff..595242ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,10 +51,10 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 - name: Install dependencies run: | python -m pip install --upgrade pip setuptools tox diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5efdce81..2ab0c508 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ --- default_language_version: - python: python3.12 + python: python3.13 # pyright requires internet connection to run, which the pre-commit ci app doesn't have. # it instead runs in a github action # check-release-changelog is run as a dedicated job diff --git a/pyproject.toml b/pyproject.toml index b48579e3..30bbbd85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,8 @@ ignore-words-list = 'spawnve' [tool.isort] only_modified = true profile = "black" -py_version = "311" +# isort is slow to release official support for new python versions +py_version = "312" quiet = true skip_gitignore = true skip_glob = "tests/*_files/*" @@ -32,7 +33,7 @@ warn_unused_ignores = false [tool.pyright] exclude = ["**/node_modules", "**/__pycache__", "**/.*", "tests/eval_files/*", "tests/autofix_files/*"] # TODO: fix errors in eval/autofix files -pythonVersion = "3.12" +pythonVersion = "3.13" reportCallInDefaultInitializer = true reportImplicitStringConcatenation = false # black generates implicit string concats reportMissingSuperCall = true