-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (81 loc) · 2.28 KB
/
pyproject.toml
File metadata and controls
86 lines (81 loc) · 2.28 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
[project]
name = "spark-k8s"
version = "0.1.0"
description = "Spark on Kubernetes Helm charts and tooling"
readme = "README.md"
requires-python = ">=3.9"
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
minversion = "7.0"
addopts = [
"-v",
"--tb=short",
"--strict-markers",
"--disable-warnings",
"--cov=tests",
"--cov-report=term-missing",
"--cov-fail-under=80",
]
# Override for quick runs: pytest --no-cov
markers = [
"load: mark test as load test (long-running)",
"baseline: mark test as baseline load test",
"gpu: mark test as GPU load test",
"iceberg: mark test as Iceberg load test",
"comparison: mark test as version comparison test",
"security: mark test as security stability test",
"slow: mark test as slow running test",
"network: mark test as network policy test",
"rbac: mark test as RBAC test",
"secrets: mark test as secrets hardcoded test",
"compliance: mark test as compliance test",
"smoke: mark test as smoke test",
"e2e: mark test as end-to-end test",
"integration: mark test as integration test",
"observability: mark test as observability test",
"monitoring: mark test as monitoring test",
"tracing: mark test as distributed tracing test",
"logging: mark test as logging test",
]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.ruff]
# Known exclusions: tests/, scripts/, examples/ have legacy style (WS-027-02, WS-027-03)
target-version = "py39"
line-length = 120
exclude = [
".git", "__pycache__", ".venv", "venv", "build", "dist", "*.egg-info", ".sdp",
"tests/", "scripts/", "examples/", "docker/", "configs/", "k8s/", "hooks/",
"notebooks/",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "N"]
ignore = ["E501"]
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311"]
include = '\\.pyi?$'
exclude = '''
/(
\\.git
| \\.venv
| venv
| build
| dist
| \\.sdp
| \\*\\.egg-info
)/
'''
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
strict = true
ignore_missing_imports = true