-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
104 lines (92 loc) · 2.44 KB
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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "chaostoolkit-fault"
dynamic = ["version"]
description = "Chaos Toolkit extension for the fault proxy"
authors = [
{name = "Sylvain Hellegouarch", email = "sh@defuze.org"},
]
dependencies = [
"chaostoolkit-lib>=1.37",
"psutil>=7.0.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "Apache-2.0"}
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.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython"
]
[project.urls]
documentation = "https://chaostoolkit.org"
repository = "https://github.com/chaostoolkit-incubator/chaostoolkit-fault"
changelog = "https://github.com/chaostoolkit-incubator/chaostoolkit-fault/blob/master/CHANGELOG.md"
[tool]
[tool.pdm]
version = { source = "scm" }
[tool.pdm.scripts]
lint = {composite = ["ruff check chaosfault/", "mypy chaosfault/", "bandit -c pyproject.toml -r chaosfault"]}
format = {composite = ["ruff check --fix chaosfault/", "ruff format chaosfault/"]}
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.ruff.lint]
select = [
"F",
"E",
"W",
"I001"
]
ignore = [
"RET503"
]
[tool.mypy]
namespace_packages = true
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = "-v -rxs --cov chaosfault --cov-report term-missing:skip-covered --cov-report xml -p no:warnings"
[dependency-groups]
dev = [
"ruff>=0.0.280",
"pytest-sugar>=0.9.7",
"pytest-cov>=4.1.0",
"pytest>=7.4.0",
"coverage>=7.2.7",
"mypy>=1.4.1",
"bandit>=1.7.5",
"types-psutil>=7.0.0.20250218",
]
[tool.bandit]
skips = ["B104"]