DSPy: The framework for programming—not prompting—language models
Python
fix(precommit): remove hardcoded python version (#9346)
Isaac Miller88ea7fd38ade
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 2b5fa0955..7dcbe254a 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -1,20 +1,16 @@-default_language_version:- python: python3.10-default_stages: [pre-commit]default_install_hook_types: [pre-commit]repos:- - repo: local+ - repo: https://github.com/astral-sh/ruff-pre-commit+ rev: v0.15.0hooks:- - id: ruff-check+ - id: ruffname: ruff (lint)- entry: ruff- language: systemtypes_or: [python, pyi]files: ^(dspy|tests)/.*\.py$exclude: ^(dspy/__metadata__\.py|tests/reliability/.*\.py)$- args: [check, --fix-only]+ args: [--fix-only]- repo: https://github.com/pre-commit/pre-commit-hooksrev: v5.0.0