-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathpyproject.toml
93 lines (83 loc) · 2.17 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[project]
name = "op-analytics"
version = "20250211.3"
description = "Data analysis tools by OP Labs."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"clickhouse-connect>=0.8.1",
"dagster-k8s>=0.25.7",
"dagster>=1.9.7",
"duckdb>=1.1.1",
"eth-abi-lite>=3.2.0",
"gcsfs>=2024.9.0.post1",
"google-cloud-bigquery>=3.26.0",
"google-cloud-storage>=2.18.2",
"gspread>=6.1.2",
"jinja2>=3.1.4",
"numba>=0.60.0",
"orjson>=3.10.11",
"overrides>=7.7.0",
"pandas>=2.2.3",
"polars>=1.21.0",
"py-markdown-table>=1.1.0",
"pyarrow>=17.0.0",
"pycryptodome>=3.21.0",
"pydantic>=2.9.2",
"pygithub>=2.5.0",
"pyyaml>=6.0.2",
"stamina>=24.3.0",
"structlog>=24.4.0",
"typer>=0.12.5",
"urllib3>=2.2.3",
]
[tool.mypy]
files = ["src/**/*.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",
"sqlfluff>=3.2.5",
"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",
"dagster-webserver>=1.9.7",
]
[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-report html"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
only-include = ["src/op_analytics"]
[tool.hatch.build.targets.wheel]
packages = ["src/op_analytics"]
[tool.dagster]
module_name = "op_analytics.dagster.defs" ## name of project's Python module and where to find the definitions
code_location_name = "dev_code_location"