generated from NASA-AMMOS/slim-starterkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
106 lines (96 loc) · 2.61 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
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "unity-initiator"
dynamic = ["version"]
description = 'Unity Initiator Framework'
readme = "README.md"
requires-python = ">=3.9"
license = "Apache-2.0"
keywords = []
authors = [
{ name = "Gerald Manipon", email = "[email protected]" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"importlib_resources~=6.4.0",
"pytest~=8.2.0",
"scripttest~=1.3",
"mock~=5.1.0",
"mockito~=1.5.0",
"flake8~=7.0.0",
"pytest-cov~=5.0.0",
"flake8-junit-report~=2.1.0",
"flake8-string-format~=0.3.0",
"yamale~=5.2.1",
"prospector~=0.12.2",
"moto[all]~=5.0.6",
"httpx~=0.27.0",
"respx~=0.21.1",
"docker~=7.0.0",
"smart-open~=7.0.4",
# TODO: remove cryptography pin when this issue resolved:
# cryptography/hazmat/bindings/_rust.abi3.so: cannot open shared object file: No such file or directory
"cryptography<35.0.0",
# TODO: remove requests pin when this issue resolved:
# https://github.com/docker/docker-py/issues/3256
"requests<2.32.0",
]
[project.urls]
Documentation = "https://github.com/unity-sds/unity-initiator#readme"
Issues = "https://github.com/unity-sds/unity-initiator/issues"
Source = "https://github.com/unity-sds/unity-initiator"
[tool.hatch.version]
path = "src/unity_initiator/__about__.py"
[tool.hatch.envs.default]
dependencies = [
"coverage[toml]>=6.5",
"pytest",
]
[tool.hatch.envs.default.scripts]
test = "pytest {args:tests}"
test-cov = "coverage run -m pytest {args:tests}"
cov-report = [
"- coverage combine",
"coverage report",
]
cov = [
"test-cov",
"cov-report",
]
[[tool.hatch.envs.all.matrix]]
python = ["3.9", "3.10", "3.11", "3.12"]
[tool.hatch.envs.types]
dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/unity_initiator tests}"
[tool.coverage.run]
source_pkgs = ["unity_initiator", "tests"]
branch = true
parallel = true
omit = [
"src/unity_initiator/__about__.py",
]
[tool.coverage.paths]
unity_initiator = ["src/unity_initiator", "*/unity-initiator/src/unity_initiator"]
tests = ["tests", "*/unity-initiator/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.isort]
profile = "black"