-
Notifications
You must be signed in to change notification settings - Fork 43
/
pyproject.toml
102 lines (93 loc) · 2.3 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
[project]
name = "acto"
description = "Push-Button End-to-End Testing of Kubernetes Operators/Controllers"
requires-python = ">= 3.10"
version = "0.1.0"
readme = "README.md"
license = { file = "LICENSE" }
dependencies = [
"deepdiff",
"kubernetes==31.0.0",
"exrex",
"jsonschema",
"jsonpatch",
"pandas",
"PyYAML",
"ruamel.yaml",
"requests",
"pydantic",
"pytest",
"urllib3>=2.2.3", # security fix
"requests>=2.32.3", # security fix
"idna>=3.10", # security fix
"certifi>=2024.8.30", # security fix
]
[project.optional-dependencies]
dev = [
"docker",
"prometheus_client",
"pytest-cov",
"tabulate",
"pip-tools",
"pre-commit",
"ansible-core>=2.17.5",
"jinja2>=3.1.4",
"isort",
"mypy",
"black>=24.10.0",
"pylint",
"jsonref",
"cryptography>=43.0.1", # security fix
]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["acto"]
[tool.black]
line-length = 80
target-version = ["py310", "py311"]
[tool.isort]
profile = "black"
line_length = 80
[tool.coverage.run]
relative_files = true
[tool.pytest.ini_options]
markers = [
"local: mark a test to run on a local machine",
"single_bug_reproduction: mark a test to reproduce a single random bug",
"all_bug_reproduction: mark a test to reproduce all bugs in the suite",
"kubernetes_engine: mark a test for cluster set up",
]
python_functions = "test_*"
python_classes = ""
[tool.pylint."messages control"]
disable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-implicit-booleaness-not-comparison-to-string",
"use-implicit-booleaness-not-comparison-to-zero",
"use-symbolic-message-instead",
"too-many-return-statements",
"too-many-branches",
"too-many-instance-attributes",
"too-few-public-methods",
"consider-using-enumerate",
"too-many-lines",
"too-many-arguments",
"too-many-locals",
"no-else-return",
"too-many-nested-blocks",
"too-many-statements",
"dangerous-default-value",
"duplicate-code",
"missing-module-docstring",
"fixme",
]
[tool.mypy]
ignore_missing_imports = true