forked from nhjjr/rcbp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhatch.toml
More file actions
41 lines (32 loc) · 798 Bytes
/
hatch.toml
File metadata and controls
41 lines (32 loc) · 798 Bytes
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
[build.targets.wheel]
packages = ["src/rcbp"]
[version]
source = "vcs"
[version.raw-options]
version_scheme = "python-simplified-semver"
local_scheme = "no-local-version"
parentdir_prefix_version = "rcbp-"
git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "rcbp-v*"]
[build.hooks.vcs]
version-file = "src/rcbp/_version.py"
[envs.default]
dependencies = [
"coverage[toml]",
"pytest",
"pytest-cov",
]
[envs.default.scripts]
test = 'pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=rcbp --cov=tests'
[envs.test]
dependencies = [
"pytest"
]
[envs.test.scripts]
test = "pytest tests"
type = "mypy src/rcbp"
[[envs.test.matrix]]
python = ["3.10", "3.11", "3.12"]
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]