forked from Kuadrant/testsuite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
86 lines (75 loc) · 1.99 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
[tool.poetry]
name = "kuadrant-testsuite"
version = "0.1.0"
description = "Tests for GLBC and Kuadrant projects"
authors = ["Kuadrant QE <[email protected]>"]
readme = "README.md"
#packages = [{include = "kuadrant_testsuite"}]
[tool.poetry.group.main.dependencies]
python = "^3.11"
typing_extensions = "*"
pytest-xdist = "*"
pytest = "*"
pytest-asyncio = "*"
pytest-html = "*"
dynaconf = "*"
python-keycloak = ">=3.6"
python-jose = "*"
lxml = "*"
cryptography = "*"
backoff = "*"
httpx = { version = "*", extras = ["http2"] }
openshift-client = ">=1.0.14"
apyproxy = "*"
weakget = "*"
flaky = "*"
[tool.poetry.group.dev.dependencies]
mypy = "*"
pylint = "*"
types-PyYAML = "*"
types-python-jose = "*"
black = {version = "*", extras = ["d"]}
# Black
[tool.black]
line-length = 120
# Pytest:
[tool.pytest.ini_options]
markers = [
"issue: Reference to covered issue",
"performance: Performance tests have unique needs",
"mgc: MGC tests have specific needs"
]
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"
asyncio_mode = "auto"
# 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-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.*", "apyproxy.*", "click.*", "py.*"]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"