-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
63 lines (53 loc) · 1.43 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "snkit"
dynamic = ["version"]
description = "a spatial networks toolkit"
readme = "README.md"
license = "MIT"
authors = [{ name = "Tom Russell", email = "[email protected]" }]
keywords = []
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Utilities",
]
requires-python = ">=3.9"
dependencies = ["geopandas>=1.0", "numpy", "pandas", "shapely>=2.0"]
[project.optional-dependencies]
dev = [
"black",
"mypy",
"nbstripout",
"pre-commit",
"pytest",
"pytest-cov",
"ruff",
]
docs = ["myst-parser", "sphinx"]
networkx = ["networkx>=3.0"]
[project.urls]
Homepage = "https://snkit.readthedocs.io/en/latest/"
Source = "https://github.com/tomalrussell/snkit"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/snkit/_version.py"
[tool.hatch.build.targets.sdist]
include = ["/src"]
[tool.pytest.ini_options]
pythonpath = ["src"]
[tool.ruff]
src = ["src"]
line-length = 120
[tool.mypy]
exclude = ['venv', '.venv', 'build', 'docs', 'tests']
[[tool.mypy.overrides]]
module = ["geopandas", "igraph", "networkx", "numpy", "scipy.*", "shapely.*"]
ignore_missing_imports = true