-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (52 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (52 loc) · 1.46 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "ridefare"
version = "0.2.1"
description = "RideFare data platform package for analytics engineering and ML workflow orchestration."
readme = "README.md"
requires-python = ">=3.12,<3.14"
license = "MIT"
authors = [{ name = "Samir Caizapasto" }]
dependencies = []
[project.optional-dependencies]
data = [
"dbt-duckdb>=1.9,<2.0",
"duckdb>=1.2,<2.0",
"pandera[polars]>=0.24,<0.25",
"polars>=1.24,<2.0",
]
ml = [
"matplotlib>=3.10,<4.0",
"numpy>=2.2,<3.0",
"pandas>=2.2,<3.0",
"scikit-learn>=1.6,<2.0",
"shap>=0.48,<0.52",
"xgboost>=2.1,<3.0",
]
dev = [
"pytest>=8.4,<9.0",
"ruff>=0.11,<0.12",
]
[project.scripts]
ridefare = "ridefare.cli:console_main"
ridefare-ingest = "ridefare.cli:ingest_entrypoint"
ridefare-transform = "ridefare.cli:transform_entrypoint"
ridefare-train = "ridefare.cli:train_entrypoint"
ridefare-export-web = "ridefare.cli:export_web_entrypoint"
[tool.hatch.build.targets.wheel]
packages = ["src/ridefare"]
[tool.pytest.ini_options]
addopts = "-q"
testpaths = ["tests"]
filterwarnings = [
"ignore:Pandas and numpy have been removed from the base pandera:UserWarning",
"ignore:the ordering parameter on Categorical is deprecated:DeprecationWarning",
]
[tool.ruff]
extend-exclude = ["notebooks/ridefare_analysis_engineering_legacy.ipynb", "scripts/legacy"]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]