-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
92 lines (83 loc) · 1.79 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
[tool.poetry]
name = "DANE"
version = "0.4.3"
description = "Utils for working with the Distributed Annotation and Enrichment system"
readme = "README.md"
authors = [
"Nanne van Noord <[email protected]>",
"jblom <[email protected]>"
]
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",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Multimedia :: Video",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "dane" }
]
[tool.poetry.dependencies]
python = "^3.10"
elasticsearch7 = "^7.17.7"
pika = "^1.3.1"
yacs = "^0.1.8"
requests = "^2.28.1"
urllib3 = "^1.26.12"
boto3 = "^1.26.155"
[tool.poetry.dev-dependencies]
mockito = "^1.4.0"
pytest = "^7.2.0"
mypy = "^0.982"
black = "^22.10.0"
flake8 = "^5.0.4"
pytest-cov = "^4.0.0"
types-requests = "^2.28.11.2"
types-urllib3 = "^1.26.25.1"
typing-extensions = "^4.4.0"
[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"
exclude = ['docs', 'examples']
[[tool.mypy.overrides]]
module = [
'dane.*',
'mockito',
'pika',
'yaml',
'yacs.*',
"boto3",
]
ignore_missing_imports = true