-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
72 lines (60 loc) · 1.92 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
[tool.poetry]
name = "kcwarden"
version = "0.0.0"
description = "Keycloak auditor"
authors = ["Max Maass <[email protected]>", "Tim Walter <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
homepage = "https://iteratec.github.io/kcwarden/"
repository = "https://github.com/iteratec/kcwarden"
documentation = "https://iteratec.github.io/kcwarden/"
keywords = ["keycloak", "security-scanner", "oauth2", "oidc"]
classifiers = ["License :: OSI Approved :: Apache Software License", "Topic :: Security", "Topic :: Software Development :: Testing", "Operating System :: OS Independent"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/iteratec/kcwarden/issues"
"Sponsor" = "https://www.iteratec.com/"
[tool.poetry.dependencies]
python = "^3.11"
requests = "^2.32.3"
pyyaml = "^6.0.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
testcontainers = { extras = ["keycloak"], version = "^4.8.0" }
python-keycloak = "^4.3.0"
ruff = ">=0.6.3,<0.8.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.1"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.scripts]
kcwarden = "kcwarden.cli:main"
[tool.pytest.ini_options]
testpaths = [
"tests"
]
addopts = "-ra -q"
[tool.ruff]
src = ["kcwarden", "tests"]
line-length = 120
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "C90", "N", "RUF", "PL"]
ignore = [
"E501", # line length
"PLR2004", # Magic value used in comparison
"RUF012", # Mutable class attributes should be annotated with `typing.ClassVar`
"PLR0913", # Too many arguments in function definition
"PLR0912", # Too many branches
"C901", # Too complex
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "lf"