-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
88 lines (77 loc) · 1.52 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "enhanced-search"
description = "A library to orchestrate the BIOfid semantic search"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "AGPLv3"}
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Development Status :: 3 - Beta",
"OSI Approved :: GNU Affero General Public License v3"
]
dependencies = [
"pysolr==3.9.0",
"redis~=4.0",
"simplemma==0.9.1",
"solrq==1.1.2",
"SPARQL-Burger~=1.0.0",
"SPARQLWrapper==2.0.0",
]
version = "0.1.6"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests*"]
[project.optional-dependencies]
dev = [
# Testing
"tox",
"pytest>=7.0",
"pytest-cov",
# Linters
"pre-commit",
"black",
"isort",
"flake8",
"flake8-bugbear",
# Security
"safety",
"bandit",
# Testing Dependencies
"rdflib",
"fakeredis",
"responses~=0.23.0"
]
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = [
"tests"
]
[tool.coverage.run]
source = ["enhanced_search"]
omit = ["tests/*"]
[tool.mypy]
ignore_missing_imports = true
warn_unused_configs = true
[tool.pylint]
ignore-patterns = "test_.*?py"
disable = [
"C0208",
"E0401",
"R0903",
"R0913",
"W0108",
"W0621",
]
good-names = [
"db",
"id",
"f"
]
[tool.isort]
profile = "black"