-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
79 lines (66 loc) · 1.83 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 = ["tests/*", "qe_metrics/cli.py", "qe_metrics/utils/entrypoint.py"]
[tool.coverage.report]
fail_under = 60
skip_empty = true
[tool.coverage.html]
directory = ".tests_coverage"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = 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 = "qe-metrics"
version = "1.0.0"
description = "Report QE metrics"
authors = ["Caleb Evans <caevans@redhat.com>"]
readme = "README.md"
license = "Apche-2.0"
homepage = "https://github.com/RedHatQE/qe-metrics"
repository = "https://github.com/RedHatQE/qe-metrics"
packages = [{ include = "qe_metrics" }]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
[tool.poetry.urls]
Download = "https://github.com/RedHatQE/qe-metrics"
"Bug Tracker" = "https://github.com/RedHatQE/qe-metrics/issues"
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.7"
jira = "^3.5.2"
jinja2 = "^3.1.2"
psycopg2-binary = "^2.9.9"
pyaml-env = "^1.2.1"
ipdb = "^0.13.13"
flask = "^3.0.3"
requests = "^2.31.0"
sqlalchemy = "^2.0.29"
python-simple-logger = "^2.0.0"
pyhelper-utils = "^1.0.1"
[tool.poetry.group.dev.dependencies]
tox = "^4.11.4"
pytest = "^8.0.0"
pytest-cov = "^5.0.0"
pytest-mock = "^3.12.0"
ipython = "*"
[tool.poetry.scripts]
qe-metrics = "qe_metrics.cli:cli_entrypoint"
[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"