-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpyproject.toml
108 lines (94 loc) · 2.02 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[tool.rye.scripts]
check = "pyright"
test = "pytest"
ex = "./examples/test.sh"
[project]
name = "gridfinder"
description = "Algorithm for guessing MV grid network based on night time lights"
readme = "README.md"
license = {text = "MIT License"}
requires-python = ">=3.9"
keywords = ["ntl", "electricity", "grid"]
authors = [
{name = "Chris Arderne", email="[email protected]"},
]
dynamic = ["version"]
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"affine ~= 2.4",
"click ~= 8.0",
"fiona ~= 1.9",
"geopandas ~= 0.14",
"numba ~= 0.58",
"numpy ~= 1.26",
"pandas ~= 2.2",
"pillow ~= 10.2",
"pyarrow ~= 15.0",
"pyproj ~= 3.6",
"rasterio ~= 1.3",
"Rtree ~= 1.2",
"scikit-image ~= 0.22",
"scipy ~= 1.12",
"Shapely ~= 2.0",
]
[tool.rye]
managed = true
dev-dependencies = [
"pyright",
"pytest",
"descartes ~= 1.1.0",
"folium ~= 0.15",
"matplotlib ~= 3.8",
"pytest ~= 8.0",
"ruff ~= 0.2",
"seaborn ~= 0.13",
"jupyterlab ~= 4.1",
]
[project.urls]
homepage = "https://gridfinder.rdrn.me"
repository = "https://github.com/carderne/gridfinder"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.build]
includes = ["gridfinder/"]
[tool.pdm.version]
source = "scm"
[tool.ruff]
target-version = "py39"
line-length = 88
exclude = []
[tool.ruff.lint]
ignore-init-module-imports = true
select = [
"F",
"E",
"I",
"U",
"N",
"E",
"T100",
"A",
"Q",
"ANN",
]
[tool.ruff.lint.isort]
known-first-party = ["gridfinder"]
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["gridfinder", "tests"]
reportMissingImports = true
reportMissingParameterType = true
reportUnnecessaryTypeIgnoreComment = true
reportDeprecated = true
pythonVersion = "3.10"