diff --git a/.ruff.toml b/.ruff.toml index eecfca4..17fe1a4 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -18,8 +18,8 @@ exclude = [ line-length = 100 indent-width = 4 -# Assume Python 3.12 -target-version = "py312" +# Assume Python 3.14 +target-version = "py314" [lint] # Enable: diff --git a/AGENTS.md b/AGENTS.md index 819b489..52124e6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -71,10 +71,10 @@ tox -e migrations tox -e pre-commit # Run the main test suite (search, proxito, and embed_api tests are excluded by default) -tox -e py312 -- --nomigrations +tox -e py314 -- --nomigrations # Run tests matching a keyword (faster) — use -k because --pyargs readthedocs is hardcoded -tox -e py312 -- -k "" --reuse-db --nomigrations +tox -e py314 -- -k "" --reuse-db --nomigrations # Run only search tests (requires Elasticsearch sidecar in CI, skip locally unless available) tox -e search diff --git a/pre-commit-config.yaml b/pre-commit-config.yaml index 81d421d..3ad2e0f 100644 --- a/pre-commit-config.yaml +++ b/pre-commit-config.yaml @@ -59,7 +59,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.11.5 + rev: v0.15.20 hooks: # Run the linter. - id: ruff