/
pyproject.toml
95 lines (84 loc) · 1.99 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
build-backend = "hatchling.build"
requires = [
"hatch-vcs",
"hatchling",
]
[project]
name = "sentaku"
description = "variadic ux implementation for testing"
readme = "README.rst"
keywords = [
"testing",
]
license = "MPL-2.0"
authors = [
{name = "RonnyPfannschmidt", email = "opensource@ronnypfannschmidt.de"}
]
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dynamic = [
"version",
]
dependencies = [
"attrs>=22",
"typing-extensions>=4.5",
]
[project.optional-dependencies]
docs = [
"requests>=2.20",
"selenium>=4",
"sphinx>=6.1.3",
]
examples = [
"selenium>=4",
]
test = [
"pytest>7.1",
]
[project.urls]
Homepage = "https://github.com/Redhatqe/Sentaku"
[tool.hatch.version]
source = "vcs"
[tool.hatch.envs.test]
features = ["test"]
[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
[tool.hatch.envs.test.scripts]
test = "pytest {args}"
[tool.hatch.envs.docs]
features = ["docs"]
[tool.hatch.envs.docs.scripts]
build = """
sphinx-build -b html \
-d build/sphinx-doctrees \
docs build/htmldocs {args}
"""
[tool.hatch.envs.mypy]
features = ["test"]
dependencies = [
"mypy==1.0.0",
"types-requests",
"pytest",
]
[tool.hatch.envs.mypy.scripts]
check = "mypy {args:src/sentaku testing examples}"
[tool.pytest.ini_options]
testpaths = ["./testing"]
pythonpath = ["./examples"]
[tool.mypy]
python_version="3.8"
strict = true
mypy_path = ["$MYPY_CONFIG_FILE_DIR/src", "$MYPY_CONFIG_FILE_DIR/examples"]
overrides = [{module = ["selenium.*"], ignore_missing_imports=true}]