generated from RedHatQE/python-template-repository
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (76 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
91 lines (76 loc) · 2.1 KB
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
83
84
85
86
87
88
89
90
91
[project]
name = "python-utility-scripts"
version = "2.0.5"
description = "Python utility scripts"
requires-python = ">=3.10"
readme = "README.md"
license = "Apache-2.0"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"pylero>=0.2,<0.3",
"pytest-mock>=3.14.0,<4",
"pyyaml>=6.0.1,<7",
"jira>=3.6.0,<4",
"tenacity>=9.0.0,<10",
"python-simple-logger>=2.0.4,<3",
"pyhelper-utils>=2,<3",
"ast-comments>=1.2.2",
"click (>=8.1.7)",
]
[[project.authors]]
name = "dbasunag"
email = "dbasunag@redhat.com"
[project.urls]
Homepage = "https://github.com/RedHatQE/python-utility-scripts"
Repository = "https://github.com/RedHatQE/python-utility-scripts"
Documentation = "https://github.com/RedHatQE/python-utility-scripts/blob/main/README.md"
[project.scripts]
pyutils-unusedcode = "apps.unused_code.unused_code:get_unused_functions"
pyutils-polarion-verify-tc-requirements = "apps.polarion.polarion_verify_tc_requirements:has_verify"
pyutils-polarion-set-automated = "apps.polarion.polarion_set_automated:polarion_approve_automate"
pyutils-jira = "apps.jira_utils.jira_information:get_jira_mismatch"
[tool.coverage.run]
omit = ["tests/*"]
[tool.coverage.report]
fail_under = 70
skip_empty = true
[tool.coverage.html]
directory = ".tests_coverage"
show_contexts = false
[tool.uv]
default-groups = ["dev", "test"]
[tool.hatch.build.targets.sdist]
include = ["apps"]
[tool.hatch.build.targets.wheel]
include = ["apps"]
[tool.mypy]
show_error_codes = true
warn_unused_ignores = true
check_untyped_defs = true
disallow_any_generics = false
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.lint]
extend-select = ["I"]
[tool.ruff.format]
exclude = [".git", ".venv", ".mypy_cache", ".tox", "__pycache__"]
[dependency-groups]
dev = ["ipdb>=0.13.13,<0.14", "ipython"]
test = [
"ipdb>=0.13.13",
"ipython>=8.18.1",
"pytest>=9.0.0,<10",
"pytest-cov>=7.0.0,<8",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"