-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
74 lines (68 loc) · 1.66 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
[tool.poetry]
name = "callisto"
version = "1.2.2"
description = "A service to manage browser pods in k8s"
authors = ["Wrike DevOps team <[email protected]>"]
license = "MIT"
repository = "https://github.com/wrike/callisto"
keywords = ['web', 'service', 'ci', 'automation']
exclude = ["tests", "*.tests"]
[tool.poetry.dependencies]
python = "^3.11"
aiohttp = "^3.9.5"
aiodns = "^3.2.0"
aiojobs = "^1.2.1"
kubernetes_asyncio = "^31.1.0"
click = "^8.1.7"
prometheus-client = "^0.21.0"
sentry-sdk = "^2.2.0"
tenacity = "^9.0.0"
graypy = "^2.1.0"
pyyaml = "^6.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=5.3.2"
pytest-asyncio = ">=0.10.0"
pytest-cov = ">=2.8.1"
flake8 = ">=3.7.9"
mypy = ">=0.750"
isort = ">=4.3.21"
toml = ">=0.10"
selenium = ">=4.10.0"
types-pyyaml = ">=6.0.12.10"
black = ">=23.3.0"
async-timeout = ">=4.0.3"
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
lines_after_imports = 2
force_grid_wrap = 3
forced_separate = ["callisto"]
add_imports = "from __future__ import annotations"
[tool.pytest.ini_options]
addopts = """
--strict-markers
--quiet
--no-cov-on-fail
--asyncio-mode=auto
"""
[tool.mypy]
python_version = 3.12
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_optional = true
strict_equality = true
# Too noisy
warn_no_return = false
warn_return_any = false
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"