-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (109 loc) · 2.57 KB
/
pyproject.toml
File metadata and controls
124 lines (109 loc) · 2.57 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = [
"setuptools >= 40.0.4",
"wheel >= 0.29.0",
"setuptools-scm>=8",
]
build-backend = 'setuptools.build_meta'
[project]
name = "argus-alm"
description = "Argus"
authors = [
{name = "Alexey Kartashov", email = "alexey.kartashov@scylladb.com"},
{name = "Łukasz Sójka", email = "lukasz.sojka@scylladb.com"},
]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"requests >= 2.26.0",
"click >= 8.1.3",
"lz4>=4.4.4",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/scylladb/argus"
Repository = "https://github.com/scylladb/argus"
[tool.setuptools_scm]
version_file = "argus/_version.py"
[tool.setuptools.packages.find]
include = ["argus", "argus.client*", "argus.common*"]
[project.scripts]
argus-client-generic = 'argus.client.generic.cli:cli'
argus-driver-matrix-client = 'argus.client.driver_matrix_tests.cli:cli'
[project.optional-dependencies]
web-backend = [
"PyYAML ~= 6.0.0",
"scylla-driver >= 3.29.4",
"Flask ~= 3.0.0",
"Flask-WTF ~= 1.0.0",
"Flask-Login ~= 0.5.0",
"humanize ~= 3.13.1",
"PyJWT[crypto] >= 2.10.0",
"python-magic ~= 0.4.24",
"uwsgi ~= 2.0.20",
"python-jenkins >= 1.7.0",
"python-slugify ~= 6.1.1",
"pygithub >= 2.6.1",
"boto3 ~= 1.38.9",
"jira>=3.10.5",
"prometheus-flask-exporter>=0.23.2",
]
docker-image = [
"supervisor ~= 4.2.4",
]
dev = [
"pytest == 8.3.5",
"coverage == 7.8.2",
"docker == 7.1.0",
"ipython ~= 8.36.0",
"pre-commit >= 4.2.0",
"ruff ~= 0.11.11",
"autopep8 >= 2.3.2",
"requests-mock ~= 1.12.1",
"codecov ~= 2.1.12",
"pytest-cov ~= 6.1.1",
"nox ~= 2025.5.1",
"pytest-xdist ~= 3.7.0",
"pytest-subtests ~= 0.14.1",
"boto3-stubs ~= 1.38.9",
]
ai = [
"chromadb >= 1.0.15",
]
[tool.ruff]
lint.select = [
"BLE",
"F401", "F821", "F823", "F841",
"PL", "PLR0913","PLR0914", "PLR0916",
"YTT",
"F541",
"PIE",
"B006",
]
lint.ignore = ["E501", "PLR2004"]
lint.preview = true
lint.explicit-preview-rules = true
exclude = ["argus/"]
target-version = "py312"
force-exclude = true
line-length = 120
respect-gitignore = true
[tool.ruff.lint.pylint]
max-args = 12
max-statements = 100
max-branches = 24
max-locals = 15
[tool.autopep8]
max_line_length = 120
ignore = "E226,E24,W50,W690,E402,E731"
[tool.pytest.ini_options]
markers = [
"docker_required: this test requires docker and docker-compose",
]
log_cli = true
log_cli_level = "INFO"
norecursedirs = [
"pytest-argus-reporter/tests",
"argus/backend/service",
]