forked from elastic/rally-tracks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (52 loc) · 1.26 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project.optional-dependencies]
develop = [
"hatch==1.3.1",
"hatchling==1.6.0",
"black==23.3.0",
"isort==5.12.0",
"pre-commit==3.3.3",
"pip==22.2",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "vcs"
[project]
name = "rally-tracks"
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.8"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.ci",
]
[tool.hatch.envs.default]
dependencies = [
"esrally[develop] @ git+https://github.com/elastic/rally.git@master",
"pytest-rally @ git+https://github.com/elastic/pytest-rally.git@main",
]
[tool.hatch.envs.unit]
extra-dependencies = [
"geneve==0.0.3",
"elastic-package-assets @ git+https://github.com/elastic/package-assets.git@main"
]
[tool.hatch.envs.unit.scripts]
test = "pytest"
[tool.hatch.envs.it.scripts]
test = "pytest it --log-cli-level=INFO"
[tool.pytest.ini_options]
# set to true for more verbose output of tests
log_cli = false
addopts = "--verbose --color=yes --ignore=it"
junit_family = "xunit2"
junit_logging = "all"
asyncio_mode = "strict"
[tool.black]
line-length = 140
target-version = ['py38']
[tool.isort]
profile = 'black'