-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
63 lines (55 loc) · 1.76 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
[project]
authors = [
{ name = "Matt McHenry", email = "[email protected]" },
{ name = "Alek Binion", email = "[email protected]" },
{ name = "Xiyan Shao", email = "[email protected]" },
{ name = "Service Framework Team", email = "[email protected]" },
]
classifiers = ['Development Status :: 5 - Production/Stable']
description = "A small dependency injection library for Python."
dynamic = ["version"]
license = { file = "LICENSE" }
name = "minject"
requires-python = ">=3.7"
dependencies = ["attrs>=17.4", "typing_extensions>=4.1"]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling >= 1.10.0"]
[tool.hatch.version]
path = "minject/__init__.py"
[tool.hatch.envs.default]
dependencies = [
# Developer dependencies. E.g. for testing, building, packaging, etc.
"coverage",
"mypy",
"pre-commit",
"pylint",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-xdist",
'pytest-asyncio',
"typing",
]
[tool.hatch.envs.hatch-test]
dependencies = [
# The default hatch-test dependencies are not compatible with Python 3.7, a version we want to test against. Hence
# we need to specify our own dependencies here.
# https://github.com/pypa/hatch/blob/3adae6c0dfd5c20dfe9bf6bae19b44a696c22a43/src/hatch/env/internal/test.py
"coverage[toml]",
'coverage-enable-subprocess',
'pytest',
'pytest-asyncio',
'pytest-mock',
'pytest-randomly',
'pytest-asyncio',
'pytest-rerunfailures',
'pytest-xdist[psutil]',
]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive minject"
[[tool.hatch.envs.types.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]