-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (117 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
143 lines (117 loc) · 2.83 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[build-system]
requires = [
"setuptools>=61.0",
"setuptools-scm>=8.0"
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests*"] # exclude packages matching these glob patterns
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.setuptools.package-data]
nodenorm = ["*.json"]
[project]
name = "nameresolution"
version = "0.0.1"
authors = [
{ name="Johnathan Schaff", email="jschaff@scripps.edu" },
]
description = "Translator Name-Resolution Service"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
"biothings[web_extra]==1.0.2",
"pycurl",
"GitPython>=3.1.43",
"bmt>=1.4.5",
]
[project.optional-dependencies]
tests = [
"pytest >= 8.1.1",
"pytest-asyncio >= 0.23.8",
"pytest-randomly",
]
telemetry = [
"opentelemetry-api>=1.21.0",
"opentelemetry-sdk>=1.21.0",
"opentelemetry-exporter-otlp>=1.21.0",
"opentelemetry.exporter.jaeger.thrift>=1.21.0",
"opentelemetry-instrumentation>=0.42b0",
"opentelemetry-instrumentation-tornado>=0.42b0",
"deprecated>=1.2.0"
]
[project.urls]
"Homepage" = "https://github.com/biothings/NameResolutionAPI"
[tool.black]
line-length = 120
target-version = ['py39', 'py310', 'py311', 'py312', 'py313', 'py314']
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
)
'''
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 120
src_paths = ["."]
extend_skip = []
# pytest configuration
[tool.pytest.ini_options]
minversion = "6.2.5"
pythonpath = ["."]
# Options
addopts = [
"-rA",
"-vv",
"--doctest-modules",
"--setup-show",
"--capture=no",
"--tb=line",
"--durations=0",
"--showlocals",
"--strict-markers",
"--color=yes",
"--code-highlight=yes"
]
# Path
norecursedirs = [
".svn",
".git",
"_build",
"tmp*",
"lib",
"lib64",
]
testpaths = ["test"]
# Markers
markers = [
"unit",
"performance"
]
# Logging
log_cli = true
log_cli_level = "DEBUG"
log_cli_format = "%(asctime)s [%(levelname)] %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
# Asyncio
asyncio_mode = "auto"