-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
88 lines (78 loc) · 1.55 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
[tool.poetry]
name = "DANE-server"
version = "0.3.1"
description = "Back-end for the Distributed Annotation 'n' Enrichment (DANE) system"
readme = "README.md"
authors = [
"Nanne van Noord <n.j.e.vannoord@uva.nl>",
"jblom <jblom@beeldengeluid.nl>"
]
license = "Apache License 2.0"
repository = "https://github.com/CLARIAH/DANE"
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
]
packages = [
{ include = "dane_server" }
]
[tool.poetry.dependencies]
python = "^3.10"
elasticsearch7 = "*"
pika = "*"
requests = "*"
werkzeug = "<2.2.0"
flask = "~=2.1.0"
flask-restx = "*"
dane = "^0.3.6"
[tool.poetry.dev-dependencies]
mypy = "^0.971"
mockito = "^1.4.0"
pytest = "^7.1.2"
black = "^22.8.0"
flake8 = "^5.0.4"
pytest-cov = "^3.0.0"
types-requests = "^2.28.9"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"test",
]
addopts = [
# "--cov",
]
[tool.coverage.run]
omit = [
"test/*"
]
[tool.black]
line-length = 88
target_version = ['py310']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| build
| dist
)/
)
'''
[tool.mypy]
python_version = "3.10"
[[tool.mypy.overrides]]
module = [
'dane.*',
'mockito',
'pika',
'yaml',
'yacs.*',
'flask_restx.*',
]
ignore_missing_imports = true