-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (32 loc) · 1.08 KB
/
pyproject.toml
File metadata and controls
38 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[project]
name = "firstanswer-brand-detector"
version = "0.1.0"
description = "Detecção de marcas em respostas de IA — teste técnico First Answer"
requires-python = ">=3.12"
dependencies = [
"langchain>=0.3,<0.4",
"langchain-openai>=0.2,<0.4",
"pydantic>=2.7,<3",
"spacy>=3.7,<3.9",
"scikit-learn>=1.4",
"python-dotenv>=1.0",
"numpy>=1.26",
"click>=8.1",
# Modelo pt do spaCy fixado por URL: `uv sync` já o instala (sem download manual).
"pt-core-news-lg @ https://github.com/explosion/spacy-models/releases/download/pt_core_news_lg-3.8.0/pt_core_news_lg-3.8.0-py3-none-any.whl",
]
# App, não biblioteca: uv só instala as dependências (não tenta empacotar o projeto).
[tool.uv]
package = false
[dependency-groups]
dev = ["pytest>=8", "ruff>=0.6"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "UP"]
[tool.ruff.lint.per-file-ignores]
# Textos oficiais do enunciado, verbatim — não faz sentido quebrar as linhas.
"data/cases.py" = ["E501"]