-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpyproject.toml
107 lines (98 loc) · 2.64 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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "chaostoolkit-lib"
dynamic = ["version"]
description = "Chaos Toolkit core library"
authors = [
{name = "Chaos Toolkit", email = "contact@chaostoolkit.org"},
{name = "Sylvain Hellegouarch", email = "sh@defuze.org"},
]
dependencies = [
"requests>=2.31.0",
"pyyaml>=6.0.1",
"importlib-metadata>=6.7.0",
"charset-normalizer>=3.3.2",
"python-json-logger>=2.0.7",
"colorama>=0.4.4; sys_platform == \"win32\"",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"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"
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "Apache-2.0"}
[project.urls]
Homepage = "https://chaostoolkit.org/"
Repository = "https://github.com/chaostoolkit/chaostoolkit-lib"
Documentation = "https://chaostoolkit.org"
Changelog = "https://github.com/chaostoolkit/chaostoolkit-lib/blob/main/CHANGELOG.md"
[project.optional-dependencies]
jsonpath = [
"jsonpath2>=0.4.5",
]
vault = [
"hvac>=1.2.1",
]
[tool]
[tool.pdm]
version = { source = "scm" }
[tool.pdm.dev-dependencies]
dev = [
"requests-mock>=1.11.0",
"coverage>=7.2.7",
"pytest>=7.4.4",
"pytest-cov>=4.1.0",
"pytest-sugar>=1.0.0",
"ply>=3.11",
"pyhcl>=0.4.5",
"hvac>=1.2.1",
"jsonpath2>=0.4.5",
"charset-normalizer>=3.3.2",
"ruff>=0.2.2",
"callee>=0.3.1",
"responses>=0.23.3",
"freezegun>=1.4.0",
]
[tool.pdm.scripts]
lint = {composite = ["ruff check ."]}
format = {composite = ["ruff check --fix .", "ruff format ."]}
test = {cmd = "pytest"}
[tool.ruff]
line-length = 80
exclude = [
".eggs",
".git",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"build",
"dist",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = "tests"
addopts = "-v -rxs --cov chaoslib --cov-report term-missing:skip-covered -p no:warnings"