-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (84 loc) · 2.62 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
[project]
name = "chaostoolkit-reliably"
dynamic = ["version"]
description = "Reliably CLI"
authors = [
{name = "Chaos Toolkit", email = "[email protected]"},
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "Apache-2.0"}
dependencies = [
"chaostoolkit-lib>=1.34.1",
"httpx[http2]>=0.23.3",
"cryptography>=39.0.2",
"boltons>=23.0.0",
"locust>=2.15.0",
"slo-generator[cloud_monitoring, prometheus, datadog, dynatrace]>=2.3.4",
"chaostoolkit-addons>=0.4.0",
"orjson>=3.8.10",
"dnspython>=2.3.0",
"grpcio>=1.64.1",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: Freely Distributable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
documentation = "https://chaostoolkit.org"
repository = "https://github.com/chaostoolkit-incubator/chaostoolkit-reliably"
changelog = "https://github.com/chaostoolkit-incubator/chaostoolkit-reliably/blob/master/CHANGELOG.md"
[build-system]
requires = [
"pdm-backend",
]
build-backend = "pdm.backend"
[project.optional-dependencies]
dev = [
"black>=22.10.0",
"isort>=5.10.1",
"pytest>=7.2.0",
"coverage>=6.5.0",
"pytest-cov>=4.0.0",
"pytest-sugar>=0.9.5",
"ruff>=0.0.253",
"mypy>=1.0.1",
"bandit>=1.7.4",
"respx>=0.20.1",
]
[tool]
[tool.pdm]
version = { source = "scm" }
[tool.black]
color = true
line-length = 80
target-version = ['py310']
[tool.mypy]
namespace_packages = true
[tool.isort]
line_length = 80
known_first_party = 'chaosreliably'
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = "-v -rxs --cov chaosreliably --cov-report term-missing:skip-covered -p no:warnings"
[tool.pdm.scripts]
lint = {composite = ["ruff check chaosreliably/", "isort --check-only --profile black chaosreliably/", "black --check --diff chaosreliably/", "mypy chaosreliably/", "bandit -r chaosreliably"]}
format = {composite = ["isort --profile black chaosreliably/", "black chaosreliably/", "ruff check chaosreliably/ --fix"]}
test = {cmd = "pytest"}