-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
91 lines (80 loc) · 2.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[tool.poetry]
name = "kuadrant-testsuite"
version = "0.1.0"
description = "Tests for Kuadrant project"
authors = ["Kuadrant QE <[email protected]>"]
readme = "README.md"
package-mode = false
[tool.poetry.group.main.dependencies]
python = "^3.11"
typing_extensions = "*"
pytest-xdist = "*"
pytest = "*"
pytest-html = "*"
dynaconf = "*"
dnspython = "*"
python-keycloak = ">=3.6"
PyJWT = "*"
lxml = "*"
cryptography = "*"
backoff = "*"
httpx = { version = "0.27.2", extras = ["http2"] }
openshift-client = ">=2"
apyproxy = "*"
weakget = "*"
[tool.poetry.group.dev.dependencies]
mypy = "*"
pylint = "*"
types-PyYAML = "*"
black = {version = "*", extras = ["d"]}
# Black
[tool.black]
line-length = 120
# Pytest:
[tool.pytest.ini_options]
markers = [
"issue: Reference to covered issue",
"authorino: Test is using Authorino features",
"standalone_only: Test is using features available only in standalone mode, without Kuadrant",
"kuadrant_only: Test is using features available only in Kuadrant mode",
"limitador: Test is using Limitador features",
"tlspolicy: Test is using TLSPolicy",
"dnspolicy: Test is using DNSPolicy",
"disruptive: Test is disruptive",
"multicluster: Test is specifc to Multicluster deployment",
]
filterwarnings = [
"ignore: WARNING the new order is not taken into account:UserWarning",
"ignore::urllib3.exceptions.InsecureRequestWarning",
"ignore::cryptography.utils.CryptographyDeprecationWarning"
]
log_format = "%(asctime)s %(levelname)s:%(name)s:%(message)s"
log_date_format = "%H:%M:%S %z"
log_level = "INFO"
junit_logging = "all"
junit_family = "xunit2"
xfail_strict = true
# Pylint:
[tool.pylint.FORMAT]
max-line-length = 120
disable = [
"duplicate-code", # reports false alarms AND can't be disabled locally; pylint issue #214
"fixme", # ignore TODOs
"redefined-outer-name",
"too-many-arguments",
"too-many-positional-arguments",
"too-few-public-methods"]
[tool.pylint.BASIC]
good-names=["i","j","k",
"pytestmark",
"logger",
"ca", "gw"]
# Mypy:
[tool.mypy]
implicit_optional = true
[[tool.mypy.overrides]]
module = ["dynaconf.*", "keycloak.*", "weakget.*", "openshift_client.*", "apyproxy.*", "click.*", "py.*"]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"