-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (60 loc) · 1.3 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
[project]
name = "nird"
version = "0.1.1"
authors = [
{ name = "Tom Russell", email = "[email protected]" },
{ name = "Raghav Pant", email = "[email protected]" },
{ name = "Yue Li", email = "[email protected]" },
]
description = "National Infrastructure Resilience Demonstrator"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"igraph",
"geopandas",
"networkx",
"numpy",
"pandas",
"scipy",
"shapely",
"snkit",
"tqdm"
]
[project.optional-dependencies]
dev = [
"black",
"ruff",
"mypy",
"pandas-stubs",
"pre-commit",
"pytest",
"pytest-cov",
"types-tqdm"
]
docs = ["sphinx", "m2r2"]
[project.urls]
"Homepage" = "https://github.com/nismod/DAFNI-NIRD"
"Bug Tracker" = "https://github.com/nismod/DAFNI-NIRD/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
src = ["src"]
line-length = 120
[tool.mypy]
exclude = ['venv', '.venv', 'build', 'docs', 'scripts', 'tests', 'code_copies']
[[tool.mypy.overrides]]
module = [
"geopandas",
"igraph",
"networkx",
"scipy.*",
"shapely.*",
"skmob.*",
"snkit"
]
ignore_missing_imports = true