forked from statisticsnorway/ssb-sgis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 2.6 KB
/
pyproject.toml
File metadata and controls
106 lines (95 loc) · 2.6 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
[tool.poetry]
name = "ssb-sgis"
version = "0.3.8"
description = "GIS functions used at Statistics Norway."
authors = ["Statistics Norway <ort@ssb.no>"]
license = "MIT"
readme = "README.md"
packages = [{include = "sgis", from = "src"}]
homepage = "https://github.com/statisticsnorway/ssb-sgis"
repository = "https://github.com/statisticsnorway/ssb-sgis"
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Scientific/Engineering :: GIS",
]
[tool.poetry.urls]
Changelog = "https://github.com/statisticsnorway/ssb-sgis/releases"
[tool.poetry.dependencies]
python = ">=3.10,<4"
branca = ">=0.6.0"
folium = ">=0.14.0"
geopandas = "0.14.0"
igraph = "0.11.2"
mapclassify = ">=2.5.0"
matplotlib = ">=3.7.0"
networkx = ">=3.0"
numpy = ">=1.24.2"
pandas = ">=1.5.3"
pyarrow = ">=11.0.0"
requests = ">=2.28.2"
scikit-learn = ">=1.2.1"
shapely = ">=2.0.1"
xyzservices = ">=2023.2.0"
jenkspy = ">=0.3.2"
ipython = ">=8.13.2"
rtree = "^1.0.1"
geocoder = "^1.38.1"
rasterio = "^1.3.8"
xarray = "2023.8.0"
rioxarray = "^0.14.1"
numba = "^0.57.1"
pip = "23.2.1"
[tool.poetry.group.dev.dependencies]
black = {extras = ["d", "jupyter"], version = ">=23.1.0"}
coverage = {extras = ["toml"], version = ">=7.2.1"}
darglint = ">=1.8.1"
deptry = ">=0.8.0"
flake8 = ">=6.0.0"
flake8-bandit = ">=4.1.1"
flake8-bugbear = ">=23.2.13"
flake8-docstrings = ">=1.7.0"
flake8-rst-docstrings = ">=0.3.0"
furo = ">=2023.3.27"
isort = ">=5.12.0"
jupyterlab = ">=3.6.1"
jupytext = ">=1.14.5"
mypy = ">=1.0.1"
myst-parser = {version = ">=0.19.1"}
pep8-naming = ">=0.13.3"
pre-commit = ">=3.1.1"
pre-commit-hooks = ">=4.4.0"
pyogrio = ">=0.5.1"
pytest = ">=7.2.1"
pytest-cov = ">=4.0.0"
pytest-mock = ">=3.10.0"
pyupgrade = ">=3.3.1"
sphinx = ">=6.1.3"
sphinx-autobuild = ">=2021.3.14"
sphinx-autodoc-typehints = ">=1.22"
xdoctest = {extras = ["colors"], version = ">=1.1.1"}
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["sgis", "tests"]
[tool.coverage.report]
show_missing = true
[tool.isort]
profile = "black"
lines_after_imports = 2
skip_gitignore = true
# The line below is needed for jupyter notebooks stored as .py in percent format.
# See https://github.com/PyCQA/isort/issues/1338 for details
treat_comments_as_code = ["# %%"]
[tool.jupytext]
formats = "ipynb,auto:percent"
notebook_metadata_filter = "jupytext.text_representation,-jupytext.text_representation.jupytext_version,-widgets,-varInspector,-kernelspec"
cell_metadata_filter = "-all"
[tool.pytest.ini_options]
pythonpath = [
"src"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"