diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8649ac613e..b9c77b5360 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -81,7 +81,7 @@ repos: pass_filenames: false # This makes it a lot faster - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.12.1 hooks: - id: ruff-format - id: ruff @@ -91,7 +91,7 @@ repos: # Prettier - repo: https://github.com/rbubley/mirrors-prettier - rev: v3.5.3 + rev: v3.6.2 hooks: - id: prettier types: [yaml] @@ -99,12 +99,12 @@ repos: # zizmor detects security vulnerabilities in GitHub Actions workflows. # Additional configuration for the tool is found in `.github/zizmor.yml` - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.9.0 + rev: v1.10.0 hooks: - id: zizmor - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.33.0 + rev: 0.33.1 hooks: - id: check-github-workflows diff --git a/pyproject.toml b/pyproject.toml index 3076ccf03f..22e6c9587d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,6 +93,10 @@ ignore = [ [tool.ruff.lint.isort] required-imports = ["from __future__ import annotations"] +[tool.ruff.per-file-target-version] +"crates/ty_python_semantic/mdtest.py" = "py310" +"crates/ty_vendored/ty_extensions/ty_extensions.pyi" = "py312" + [tool.black] force-exclude = ''' /( diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index 475e14805e..8b964fb7db 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -2,7 +2,7 @@ name = "scripts" version = "0.0.1" dependencies = ["stdlibs"] -requires-python = ">=3.11" +requires-python = ">=3.12" [tool.black] line-length = 88