-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
56 lines (47 loc) · 1.32 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "worldview-config"
license = "MIT"
authors = [{name = "Zachary Griffith", email = "zdgriffith@wisc.edu"}]
description = "Tooling to simplify applying custom configuration for NASA Worldview."
dynamic = ["version"]
readme = "README.md"
requires-python = "~=3.0,>=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"jinja2",
"pydantic",
"typer[all]",
]
[project.scripts]
worldview_config = "worldview_config.cli:app"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "worldview_config/_version.py"
[tool.hatch.build.targets.sdist]
include = ["/worldview_config"]
[tool.hatch.envs.default]
dependencies = [
"black",
"flake8",
"isort",
"pytest",
"pytest-cov",
"pytest-xdist"
]
[[tool.hatch.envs.all.matrix]]
python = ["3.10", "3.11", "3.12"]
[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=worldview_config {args}"
no-cov = "cov --no-cov {args}"
[tool.pytest.ini_options]
addopts = "--disable-warnings --tb=short"