This commit is contained in:
deng
2025-09-04 10:41:17 +08:00
parent aadd043e9d
commit 4ff430d2c3
5 changed files with 1382 additions and 1 deletions

3
.gitignore vendored
View File

@ -8,3 +8,6 @@ wheels/
# Virtual environments # Virtual environments
.venv .venv
# Ruff
.ruff_cache

19
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,19 @@
default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-yaml
- id: check-docstring-first
- repo: local
hooks:
- id: ruff
name: ruff
entry: ruff check .
language: python
types: [python]
always_run: true

View File

@ -4,4 +4,25 @@ version = "0.1.0"
description = "Add your description here" description = "Add your description here"
readme = "README.md" readme = "README.md"
requires-python = ">=3.13" requires-python = ">=3.13"
dependencies = [] dependencies = [
"langchain>=0.3.27",
"langchain-openai>=0.3.32",
"streamlit>=1.49.1",
]
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"pytest>=8.4.1",
"ruff>=0.12.11",
]
[tool.ruff]
line-length = 130
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.format]
quote-style = "single"

1338
uv.lock generated Normal file

File diff suppressed because it is too large Load Diff