-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (71 loc) · 1.7 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
[tool.poetry]
name = "kupydo"
version = "0.1.0"
description = "Kubernetes Pythonic Deployment Operator"
authors = ["Mattias Aabmets <[email protected]>"]
repository = "https://github.com/kupydo/library"
license = "MIT"
readme = "README.md"
packages = [
{ include = "kupydo" }
]
[tool.poetry.scripts]
kupydo = "kupydo.internal.cli.main:app"
[tool.poetry.dependencies]
python = "^3.11"
orjson = "^3.9.10"
dotmap = "^1.3.30"
semver = "^3.0.2"
rich = "^13.7.0"
argon2-cffi = "^23.1.0"
pycryptodomex = "^3.19.0"
pydantic-settings = "^2.1.0"
kubernetes-asyncio = "^28.2.1"
aiohttp = {extras = ["speedups"], version = "^3.9.1"}
typer = {extras = ["all"], version = "^0.9.0"}
[tool.poetry.group.dev.dependencies]
devtools-cli = "^0.12.0"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
pytest-mock = "^3.12.0"
pytest-asyncio = "^0.23.2"
pytest-xdist = {extras = ["psutil"], version = "^3.5.0"}
coverage = "^7.3.3"
[tool.pytest.ini_options]
asyncio_mode = "auto"
console_output_style = "count"
filterwarnings = ["ignore::DeprecationWarning"]
testpaths = ["tests"]
addopts = [
"--cov=kupydo",
"--cov-report=html",
"--no-cov-on-fail",
"--import-mode=append",
# "--numprocesses=auto",
# "--maxprocesses=4"
]
pythonpath = [
".",
"./kupydo",
"./kupydo/internal"
]
[tool.coverage.run]
branch = true
source = ["kupydo/*"]
[tool.coverage.report]
#fail_under = 90
skip_empty = true
ignore_errors = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"@abstractmethod"
]
[tool.coverage.html]
directory = ".htmlcov"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"