-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
110 lines (93 loc) · 2.21 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "named-query-api"
authors = [
{name = "Tim Holzheim", email = "[email protected]"},
]
maintainers = [
{name = "Tim Holzheim", email = "[email protected]"},
]
readme = "README.md"
license= "Apache-2.0"
requires-python = ">=3.10"
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License"
]
dependencies = [
"PyYAML >= 6.0",
"SPARQLWrapper >= 2.0.0",
"Jinja2 >=3.1.3",
"fastapi >= 0.109.0",
"uvicorn >= 0.27.0",
"dateutils"
]
dynamic = ["version", "description"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.hatch.version]
path = "nqapi/__init__.py"
[project.urls]
Home = ""
Documentation = ""
Source = ""
[project.optional-dependencies]
test = [
"httpx"
]
[tool.hatch.build.targets.wheel]
packages = [
"nqapi",
]
[tool.isort]
profile = "black"
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:"
]
[tool.tox]
legacy_tox_ini = """
[tox]
env_list = lint, type, py{310,311,312}
minversion = 4.12.1
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=6
pytest-cov
httpx
commands =
pytest --cov --cov-append {tty:--color=yes} {posargs}
[testenv:lint]
description = run linters
skip_install = true
deps =
black==22.12
isort
commands =
black {posargs:.}
isort {posargs:.}
[testenv:type]
description = run type checks
deps =
mypy>=0.991
commands =
mypy {posargs:nqapi tests}
"""
[[tool.mypy.overrides]]
module = "yaml,dateutil.parser"
ignore_missing_imports = true
[project.scripts]