-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
84 lines (74 loc) · 1.65 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
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "spatial-kde"
version = "0.2.0"
description = "Create Spatial Kernel Density / Heatmap (as a numpy array or raster) from point based vector data"
authors = ["mblackgeo <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/mblackgeo/spatial-kde"
repository = "https://github.com/mblackgeo/spatial-kde"
keywords = ["raster", "vector", "kernel density", "heatmap"]
include = [
"LICENSE",
]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
pandas = "^2.2.2"
geopandas = "^0.14.3"
rasterio = "^1.3.10"
Shapely = "^2.0.4"
pyproj = "^3.6.1"
numpy = "^1.26.4"
scipy = "^1.13.0"
pandarallel = "^1.6.5"
typer = "^0.9.0"
[tool.poetry.dev-dependencies]
mypy = "^1.10.0"
black = "^24.4.1"
flake8 = "^7.0.0"
typed-ast = "^1.5.5"
pylint = "^3.0.3"
pytest = "^8.0.0"
coverage = {extras = ["toml"], version = "^6.3"}
pytest-cov = "^4.1.0"
pre-commit = "^3.6.0"
[tool.poetry.scripts]
skde = "spatial_kde.cli:app"
[tool.coverage.paths]
source = ["spatial_kde"]
[tool.coverage.run]
branch = true
source = ["spatial_kde"]
[tool.coverage.report]
show_missing = true
# fail_under = 100
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["spatial_kde"]
# [tool.pytest.ini_options]
# testpaths = "tests"
# addopts = [
# "--cov", "spatial_kde",
# "--cov-report", "term-missing:skip-covered",
# "-p", "no:warnings"
# ]