-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (120 loc) · 3.51 KB
/
pyproject.toml
File metadata and controls
137 lines (120 loc) · 3.51 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pytest-testrail"
version = "3.1.1"
description = "A pytest plugin for creating TestRail runs and adding results"
readme = "README.rst"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Allan Kilpatrick", email = "allanklp@gmail.com" }
]
keywords = ["pytest", "testrail", "testing", "qa", "test-management"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed",
]
dependencies = [
"pytest>=7.0.0",
"requests>=2.28.0",
]
[dependency-groups]
dev = [
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"freezegun>=1.2.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
"types-requests>=2.28.0",
"commitizen>=3.0.0",
"python-semantic-release>=9.0.0",
]
[project.urls]
Homepage = "https://github.com/allankp/pytest-testrail"
Repository = "https://github.com/allankp/pytest-testrail"
Documentation = "https://github.com/allankp/pytest-testrail#readme"
Issues = "https://github.com/allankp/pytest-testrail/issues"
Changelog = "https://github.com/allankp/pytest-testrail/releases"
[project.entry-points.pytest11]
pytest-testrail = "pytest_testrail.conftest"
[tool.hatch.build.targets.wheel]
packages = ["pytest_testrail"]
[tool.hatch.build.targets.sdist]
include = [
"/pytest_testrail",
"/tests",
"/README.rst",
"/LICENSE",
]
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["pytest_testrail"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
exclude = ["tests/"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short --ignore=tests/livetest"
markers = [
"testrail(ids): mark test with TestRail case IDs",
"testrail_defects(defect_ids): mark test with defect IDs",
]
[tool.coverage.run]
source = ["pytest_testrail"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
version_variables = ["pytest_testrail/__init__.py:__version__"]
branch = "main"
build_command = "uv build"
commit_message = "chore(release): {version}\n\nAutomatically generated by python-semantic-release"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "3.0.0"
version_files = [
"pyproject.toml:project.version",
"pytest_testrail/__init__.py:__version__",
]
tag_format = "v$version"