diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 29ebd99a6a..205136b49c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: )$ - repo: https://github.com/crate-ci/typos - rev: v1.24.3 + rev: v1.24.5 hooks: - id: typos @@ -59,7 +59,7 @@ repos: pass_filenames: false # This makes it a lot faster - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.3 + rev: v0.6.4 hooks: - id: ruff-format - id: ruff diff --git a/python/ruff-ecosystem/pyproject.toml b/python/ruff-ecosystem/pyproject.toml index 14fd402d1a..6b395c1b7f 100644 --- a/python/ruff-ecosystem/pyproject.toml +++ b/python/ruff-ecosystem/pyproject.toml @@ -5,6 +5,7 @@ build-backend = "hatchling.build" [project] name = "ruff-ecosystem" version = "0.0.0" +requires-python = ">=3.11" dependencies = ["unidiff==0.7.5", "tomli_w==1.0.0", "tomli==2.0.1"] [project.scripts] diff --git a/scripts/generate_mkdocs.py b/scripts/generate_mkdocs.py index 91a7302c9b..6e24f9ec25 100644 --- a/scripts/generate_mkdocs.py +++ b/scripts/generate_mkdocs.py @@ -7,8 +7,9 @@ import json import re import shutil import subprocess +from collections.abc import Sequence from pathlib import Path -from typing import NamedTuple, Sequence +from typing import NamedTuple import mdformat import yaml diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index 35dfb511ae..3a597fcf83 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -2,7 +2,7 @@ name = "scripts" version = "0.0.1" dependencies = ["stdlibs"] -requires-python = ">=3.8" +requires-python = ">=3.11" [tool.black] line-length = 88