-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (99 loc) · 2.63 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[tool.poetry]
name = "nuropb"
version = "0.1.8"
description = "NuroPb - A Distributed Event Driven Service Mesh"
authors = ["Robert Betts <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
homepage = "https://github.com/robertbetts/nuropb"
repository = "https://github.com/robertbetts/nuropb"
documentation = "https://nuropb.readthedocs.io/en/latest/"
keywords = ["python", "asynchrous", "api", "event", "rpc", "distributed", "edd", "ddd", "sevice-mesh"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent"
]
packages = [
{include = "nuropb", from = "src"}
]
[tool.poetry.extras]
docs = ["sphinx", "sphinx_rtd_theme"]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
python-dotenv = "^1.0.0"
pika = "^1.3.2"
requests = {extras = ["security"], version = "^2.31.0"}
types-requests = "^2.31.0.2"
tornado = "^6.3.3"
etcd3-py = { version = "^0.1.6", optional = true }
[tool.poetry.group.dev.dependencies]
poetry = "^1.5.1"
pytest = "^7.3.1"
certifi = "^2023.7.22"
coverage = {extras = ["toml"], version = "^7.2.7"}
pytest-dotenv = "0.5.2"
black = "^23.3.0"
mypy = "^1.4.1"
pytest-asyncio = "^0.21.1"
setuptools = "^68.2.2"
etcd3-py = "^0.1.6"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
myst-parser = "^2.0.0"
sphinx = "^7.2.6"
sphinx-rtd-theme = "^1.3.0"
readthedocs-sphinx-search = "^0.3.1"
sphinx-autobuild = "^2021.3.14"
nbsphinx = "^0.9.3"
sphinx-autoapi = "^3.0.0"
sphinxext-opengraph = "^0.8.2"
sphinxcontrib-spelling = "^8.0.0"
sphinx-copybutton = "^0.5.2"
sphinx-autodoc2 = "^0.4.2"
astroid = "<=2.15.8"
graphviz = "^0.20.1"
diagrams = "^0.23.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest]
[tool.pytest.ini_options]
env_files = [".env"]
testpaths = ["tests"]
asyncio_mode = "strict"
log_cli = true
log_level = "DEBUG"
log_cli_format = " %(levelname).1s %(asctime)s,%(msecs)d %(module)s %(lineno)s %(message)s"
log_cli_date_format = "%d %H:%M:%S"
[tool.coverage.run]
omit = [".*", "*/site-packages/*"]
[tool.coverage.report]
fail_under = 80
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:"
]
show_missing = true
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
files = "src"
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
show_error_codes = true
#strict = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
exclude = [
"tests",
]
[tool.pylint]
#ignore-paths = "tests"
notes = "FIXME,XXX,FUTURE"