-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (55 loc) · 1.32 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
[project]
name = "syndicate-rule-engine"
description = "Service that allows to perform security scans on your infrastructure"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
dependencies = []
version = "5.6.0"
[dependency-groups]
test = [
"pytest>=8.3.2",
"coverage>=7.6.3",
"pytest-cov>=5.0.0",
"WebTest>=3.0.1",
"pytest-xdist>=3.6.1",
"moto>=5.0.17",
"mongomock>=4"
]
[tool.pyright]
pythonVersion = "3.10"
reportIncompatibleMethodOverride = "warning"
executionEnvironments = [
{root = "src/", pythonVersion = "3.10"},
{root = "tests/", pythonVersion = "3.10", extraPaths = ["src/"]}
]
[tool.ruff]
line-length = 79
src = ["src", "tests"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = true
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
[tool.tox]
requires = ["tox>=4.19"]
env_list = ["py310"]
skipsdist = true
skip_install = true
[tool.tox.env_run_base]
description = "Run tests under {base_python}"
[tool.tox.env.py310]
dependency_groups = ["test"]
deps = ["-r src/onprem/requirements.txt",]
commands = [[
"pytest",
"tests",
"-v",
"--cov=src/",
"--cov-report=term-missing",
"--cov-report=xml:coverage.xml",
"--junitxml=report.xml",
{ replace = "posargs", extend = true}
]]