-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
82 lines (69 loc) · 1.86 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
[tool.poetry]
name = "aws_auth_eks_crd"
version = "0.8.1"
description = "Operator to configure the aws-auth config map with IamIdentityMappings"
readme = "README.md"
repository = "https://github.com/coveooss/aws_auth_eks_crd"
authors = ["Coveo <blank@email.com>"]
packages = [
{ include = "src" }
]
[tool.poetry.dependencies]
python = ">=3.13,<3.14"
kubernetes = "31.0.0"
kopf = "1.37.2"
[tool.poetry.dev-dependencies]
bandit = "1.7.10"
black = "24.10.0"
invoke = "2.2.0"
mypy = "1.13.0"
pre-commit = "4.0.1"
pycodestyle = "2.12.1"
pydocstyle = "6.3.0"
pylint = "3.3.1"
pytest = "8.3.3"
pytest-cov = "6.0.0"
PyYAML = "6.0.2"
vulture = "2.13"
[tool.poetry.group.dev.dependencies]
types-pyyaml = "^6.0.12.12"
types-setuptools = "^69.0.0.20240115"
pytest-mock = "^3.12.0"
isort = "^5.13.2"
[tool.stew.ci]
black = true
[tool.stew.ci.custom-runners]
pylint = { args = ["src/"] }
vulture = { args = ["src/", "tests/"] }
pydocstyle = {args = ["src/", "--ignore=D104,D213,D203,D107,D202"]}
pycodestyle = { args = ["src/", "--max-line-length=120","--ignore=E203,W503,W504"] }
isort = { check-args = ["--check", "."], autofix-args = ["."] }
[tool.stew.ci.custom-runners.pytest]
check-args = ["--cov", "src", "--cov-report", "term", "--cov-report", "html", "--cov-report", "xml", "--junit-xml=reports/test_results.xml"]
[tool.stew.build-dependencies]
setuptools = "*"
[tool.pylint]
[tool.pylint.message_control]
disable = [
"missing-docstring",
"bad-continuation",
"broad-except",
"fixme",
"too-few-public-methods",
"no-name-in-module",
"redefined-outer-name"
]
[tool.pylint.format]
max-line-length = 120
[tool.pydocstyle]
ignore = "D104,D105,D107,D202,D203,D213,D400"
[tool.vulture]
min_confidence = 61
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"