-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (85 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
95 lines (85 loc) · 1.91 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
[build-system]
requires = ["setuptools>=64", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "hypernets_api"
dynamic = ["version"]
description = "API to access hypernets data"
readme = "README.md"
license-files = ["LICENSE"]
authors = [{name = "Pieter De Vis", email = "pieter.de.vis@npl.co.uk"}]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy",
"shapely",
"python-dateutil",
"requests",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"tox",
"pytest",
"pytest-cov",
"pytest-html",
"black",
"mypy",
"IPython",
]
docs = [
"sphinx",
"sphinx_book_theme",
"sphinx_design",
"sphinx-automodapi",
"IPython",
"napoleon",
]
[project.urls]
Homepage = "https://gitlab.npl.co.uk/eco/tools/hypernets_api"
Documentation = "https://eco.gitlab-docs.npl.co.uk/tools/hypernets_api"
[tool.setuptools.packages.find]
where = ["."]
include = ["hypernets_api*"]
[tool.mypy]
allow_untyped_globals = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["hypernets_api.tests.*", "hypernets_api.*.tests.*"]
ignore_errors = true
[[tool.mypy.overrides]]
module = ["setup"]
ignore_errors = true
[tool.setuptools_scm]
# version inferred from git tags (e.g. v0.1.0); no extra config needed
[tool.pytest.ini_options]
testpaths = [
"hypernets_api/tests",
"tests",
]
addopts = "--strict-markers"
[tool.black]
line-length = 120
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
)/
'''