-
Notifications
You must be signed in to change notification settings - Fork 47
/
pyproject.toml
71 lines (62 loc) · 1.57 KB
/
pyproject.toml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[project]
name = "op-analytics"
version = "0.1.0"
description = "Data analysys tools by OP Labs."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"op-coreutils",
"op-datasets",
"pandas>=2.2.3",
"polars>=1.8.2",
"py-markdown-table>=1.1.0",
"pyyaml>=6.0.2",
"typer>=0.12.5",
"urllib3>=2.2.3",
]
[tool.uv.sources]
op-coreutils = { workspace = true }
op-datasets = { workspace = true }
[tool.uv.workspace]
members = ["packages/op-datasets", "packages/op-coreutils"]
[tool.mypy]
files = ["src/**/*.py", "packages/**/*.py", "tests/**/*.py"]
ignore_missing_imports = true
check_untyped_defs = true
[project.scripts]
opdata = "op_analytics.cli.main:entrypoint"
[tool.uv]
dev-dependencies = [
"dbt-clickhouse>=1.8.4",
"dbt-core>=1.8.7",
"dbt-duckdb>=1.8.3",
"eth-abi>=5.1.0",
"ipykernel>=6.29.5",
"mypy>=1.11.2",
"myst-parser>=4.0.0",
"pydata-sphinx-theme>=0.15.4",
"pytest-cov>=5.0.0",
"pytest>=8.3.3",
"ruff>=0.6.7",
"selenium>=4.25.0",
"sphinx>=8.0.2",
"sphinxcontrib-typer>=0.5.0",
"types-pyyaml>=6.0.12.20240917",
"types-requests>=2.32.0.20241016",
"webdriver-manager>=4.0.2",
"matplotlib>=3.9.0",
"plotly>=5.20.1",
"nbformat>=4.2.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
# Allow lines to be as long as 100.
line-length = 100
[tool.pytest.ini_options]
filterwarnings = [
# Ignore some google bigquery deprecation warnings
'ignore:Type google._upb._message:',
]
addopts = "--cov=src/ --cov=packages/ --cov-report html"