-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
82 lines (71 loc) · 1.44 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
[tool.poetry]
name = "beng-lod-server"
version = "1.0"
description = "Webserver serving LOD for the NISV catalogue items, datasets and GTAA."
authors = [
"Willem Melder <[email protected]>",
"Mari Wigham <[email protected]>",
"Govert Brinkmann <[email protected]>"
]
license = "MIT"
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = "^3.11"
requests = "==2.32.3"
rdflib = "==6.3.2"
validators = "==0.34.0"
pyyaml = "==6.0.2"
Flask-Cors = "==4.0.2"
flask = "==2.2.5"
flask-restx = "==1.3.0"
gunicorn = "^23.0.0"
[tool.poetry.group.dev.dependencies]
pytest = "==8.3.4"
pytest-cov = "==5.0.0"
mockito = "==1.5.3"
black = "==24.10.0"
flake8 = "==7.1.1"
flake8-bugbear = "==24.10.31"
mypy = "==1.13.0"
types-requests = "==2.32.0.20241016"
types-flask-cors = "==4.0.0.20240806"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[project]
requires-python = "3.11"
[tool.black]
# we use all the defaults
[tool.pytest.ini_options]
testpaths = [
"src/tests/unit_tests",
]
addopts = [
# "--cov",
]
[tool.coverage.run]
omit = [
"src/tests/*"
]
[tool.mypy]
explicit_package_bases = true
mypy_path = "src"
python_version = "3.11"
[[tool.mypy.overrides]]
module = [
"apis.*",
"config.*",
"elasticsearch",
"flask_restx",
"flask",
"importer.*",
"mockito",
"models.*",
"numpy",
"pytest",
"rdflib.*",
"validators.*",
"yaml.*",
]
ignore_missing_imports = true