-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (42 loc) · 1.13 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
[tool.poetry]
name = "generic_k8s_webhook"
# This is substituted in the publish-artifacts pipeline by the current git tag
version = "0.0.0"
description = "Configurable webhook that can implement multiple validators and mutators using a simple yaml config file"
authors = ["jordi <jordipiqueselles@gmail.com>"]
license = "Apache License"
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
PyYAML = "^6.0"
jsonpatch = "^1.33"
requests = "^2.31.0"
lark = "^1.1.7"
[tool.poetry.scripts]
generic_k8s_webhook = "generic_k8s_webhook.main:main"
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.2"
pytest-timeout = "^2.1.0"
isort = "^5.12.0"
black = "^23.3.0"
pylint = "^2.17.4"
pytest-cov = "^5.0.0"
pyinstaller = "^6.9.0"
[tool.isort]
line_length = 120
[tool.black]
line-length = 120
[tool.pylint]
max-line-length = 120
disable = """invalid-name, \
logging-fstring-interpolation, \
missing-module-docstring, \
missing-class-docstring, \
missing-function-docstring, \
too-few-public-methods, \
fixme, \
"""
[tool.pytest.ini_options]
addopts = "-v --timeout=15"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"