-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (79 loc) · 1.57 KB
/
pyproject.toml
File metadata and controls
92 lines (79 loc) · 1.57 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
[project]
name = "envbox"
dynamic = ["version"]
description = "Detect environment type and work within."
authors = [
{ name = "Igor Starikov", email = "idlesign@yandex.ru" }
]
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
requires-python = ">=3.10"
keywords = ["environ", "envfile", "dotenv"]
dependencies = []
[project.urls]
Homepage = "https://github.com/idlesign/envbox"
Documentation = "https://envbox.readthedocs.io/"
[project.scripts]
envbox = "envbox.cli:main"
[project.optional-dependencies]
cli = [
"click>=2.0.0",
]
[dependency-groups]
dev = [
{include-group = "docs"},
{include-group = "linters"},
{include-group = "tests"},
]
docs = [
"mkdocs-material",
"mkdocs-navsorted-plugin",
"mkdocs-apidescribed-plugin",
]
linters = [
# "ruff",
]
tests = [
"pytest",
"pytest-datafixtures",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/envbox/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/envbox"]
[tool.hatch.build.targets.sdist]
packages = ["src/"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.coverage.run]
source = [
"src/",
]
omit = [
"*/cli.py",
]
[tool.coverage.report]
fail_under = 99.00
exclude_also = [
"raise NotImplementedError",
"if TYPE_CHECKING:",
]
[tool.tox]
skip_missing_interpreters = true
env_list = [
"py310",
"py311",
"py312",
"py313",
]
[tool.tox.env_run_base]
dependency_groups = ["tests"]
commands = [
["pytest", { replace = "posargs", default = ["tests"], extend = true }],
]