generated from RedHatQE/python-template-repository
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
79 lines (64 loc) · 1.84 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
[tool.coverage.run]
omit = ["ci_jobs_trigger/tests/*", "ci_jobs_trigger/app.py"]
[tool.coverage.report]
fail_under = 65
skip_empty = true
[tool.coverage.html]
directory = ".tests_coverage"
# TODO: Enable once all functions are typed
# [tool.mypy]
# check_untyped_defs = true
# disallow_any_generics = true
# disallow_incomplete_defs = true
# disallow_untyped_defs = true
# no_implicit_optional = true
# show_error_codes = true
# warn_unused_ignores = true
[tool.ruff]
preview = true
line-length = 120
fix = true
output-format = "grouped"
[tool.ruff.format]
exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
[tool.poetry]
name = "ci-jobs-trigger"
version = "0.1.0"
description = "Triggers CI jobs (openshift-ci and Jenkins) scripts"
authors = ["Meni Yakove <[email protected]>", "Ruth Netser <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
packages = [{ include = "ci_jobs_trigger" }]
[tool.poetry.dependencies]
python = "^3.9"
openshift-python-utilities = "^5.0.26"
requests = "^2.31.0"
semver = "^3.0.2"
flask = "^3.0.2"
python-simple-logger = "^1.0.12"
shortuuid = "^1.0.11"
gitpython = "^3.1.42"
pygithub = "^2.2.0"
python-gitlab = "^4.4.0"
python-jenkins = "^1.8.2"
redhat-qe-cloud-tools = "^1.0.47"
pyaml-env = "^1.2.1"
croniter = "^2.0.5"
pyhelper-utils = "^0.0.15"
openshift-cluster-management-python-wrapper = "^1.0.133"
rosa-python-client = "^1.0.115"
[tool.poetry.group.dev.dependencies]
ipdb = "^0.13.13"
ipython = "*"
[tool.poetry.group.tests.dependencies]
pytest = "^8.0.1"
pytest-cov = "^5.0.0"
pytest-mock = "^3.12.0"
[tool.poetry-dynamic-versioning]
enable = true
pattern = "((?P<epoch>\\d+)!)?(?P<base>\\d+(\\.\\d+)*)"
[tool.poetry-dynamic-versioning.substitution]
files = ["VERSION"]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"