-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (39 loc) · 865 Bytes
/
pyproject.toml
File metadata and controls
47 lines (39 loc) · 865 Bytes
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
39
40
41
42
43
44
45
46
47
[project]
name = "cvmdata"
version = "0.1.0"
description = "Pipeline de dados CVM para indicadores de análise fundamentalista"
requires-python = ">=3.12"
dependencies = [
"duckdb>=1.2",
"httpx>=0.27",
"typer>=0.12",
"pydantic-settings>=2.0",
]
[project.optional-dependencies]
api = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
]
dev = [
"pytest>=8",
"ruff>=0.9",
]
[project.scripts]
cvmdata = "cvmdata.cli.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/cvmdata"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# exit 0 quando não há testes coletados (útil nos estágios iniciais)
addopts = ["--tb=short"]
[dependency-groups]
dev = [
"pytest-cov>=7.0.0",
]