-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (112 loc) · 2.77 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (112 loc) · 2.77 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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[project]
name = "LAUREL"
version = "0.1.0"
description = "LAUREL: Location-Attuned Uncertainty-Robust Electric-vehicle Load-simulator"
authors = [
{ name = "Fletcher Passow", email = "passow@stanford.edu" }
]
dependencies = [
"dask>=2024.5.2",
"pyarrow~=20.0",
"geopandas>=1.0.1",
"h3>=4.1",
"kedro>=1.0.0",
"kedro-datasets[dask-parquetdataset,pandas-csvdataset,pandas-featherdataset,matplotlib-matplotlibdataset]>=8.0",
"pandas>=2.2.2",
"scikit-learn>=1.0",
"numba>=0.59.1",
"pyogrio>=0.9.0",
"dask-geopandas>=0.4.1",
"numpy>=2.0",
"tzfpy[pytz]>=0.15.6",
"tqdm>=4.67.1",
"statsmodels>=0.14.5",
"openturns>=1.24",
"setuptools<81",
# Notebook and visualization packages
"seaborn>=0.13.2",
"scikit-fda>=0.10.1",
"prim>=1.0.0",
"ipykernel>=6.29.5",
"folium>=0.18.0",
"mapclassify>=2.8.1",
# Preprocessing pipeline packages
"exactextract>=0.2.2",
"osmium<4.1",
"rasterio>=1.4.3",
"routingpy>=1.3.0",
"docker>=7.1.0",
"openturns>=1.24",
"aiohttp>=3.11.18",
"openpyxl>=3.1.5",
]
readme = "README.md"
requires-python = ">= 3.12"
[project.scripts]
laurel = "laurel.__main__:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
managed = true
environments = [
"sys_platform == 'linux'",
"sys_platform == 'darwin'",
]
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
"pyinstrument>=5.0.1",
"nbstripout>=0.8.1",
"memray>=1.17.2",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"pytest-mock>=3.14.1",
"pympler>=1.1",
"kedro-viz>=12.0.0",
]
docs = [ # Installed as the exclusive set of packages "uv sync --only-group" for docs
"sphinx>=8.0",
"sphinx-rtd-theme>=3.0.1",
"sphinx-autodoc-typehints>=2.5.0",
"nbsphinx>=0.9.5",
"sphinx-copybutton>=0.5.2",
"myst-parser>=4.0.0",
"kedro>=1.0.0",
"kedro-datasets>=8.0",
"numpy>=2.0",
"pandas>=2.2.2",
"matplotlib>=3.0",
"scipy>=1.0",
"seaborn>=0.13",
"scikit-learn>=1.0",
"patsy>=0.5",
"tqdm>=4.0",
"shapely>=2.0",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/laurel"]
[tool.kedro]
package_name = "laurel"
project_name = "LAUREL"
kedro_init_version = "1.0.0"
tools = "['Linting', 'Documentation', 'Data Structure', 'Kedro Viz']"
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W", # Pycodestyle
"UP", # pyupgrade
"I", # isort
"PL", # Pylint
]
ignore = ["E501", "PLR0913"] # Don't report line-too-long
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["PLR2004"]
"src/laurel/settings.py" = ["I001", "F401", "E402"]
[tool.pytest.ini_options]
markers = [
"performance: marks tests as performance tests (may be slow)",
]