-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (65 loc) · 1.86 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
[tool.poetry]
name = "uzi"
version = "0.3.2"
description = "Dependency injection library"
authors = ["David Kyalo <davidmkyalo@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/pyuzi/uzi"
documentation = "https://pyuzi.github.io/uzi"
keywords = [
"dependency-injection",
"inversion-of-control",
"inversion-of-control-container",
"IoC-Container",
"service-injector",
"injector",
"IoC",
"DI",
"Uzi",
]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.9"
typing-extensions = "^4.1.1"
attrs = "^21.4.0"
blinker = "^1.4"
[tool.poetry.dev-dependencies]
pytest = "^7.1.1"
pytest-asyncio = "^0.18.3"
pytest-cov = {extras = ["toml"], version = "^3.0.0"}
pip = "^22.0.4"
mkdocs = "^1.3.0"
mkdocs-material = "^8.2.8"
mike = "^1.1.2"
coverage-conditional-plugin = "^0.5.0"
black = {version = "^22.3.0", allow-prereleases = true}
mkdocstrings = {version = "^0.18.1", extras = ["python"]}
[tool.pytest.ini_options]
addopts = "--cov=uzi --cov-report html --cov-config pyproject.toml"
asyncio_mode="auto"
# log_level = INFO
log_level = "DEBUG"
# Glob-style pattern(s) for matching the test modules.
python_files = "tests/**/test.py tests/**/tests.py tests/**/*_test.py tests/**/*_tests.py"
#Pattern for matching test classes
python_classes = "*Test *Tests"
#Test markers
[tool.coverage.run]
# Here we specify plugins for coverage to be used:
plugins = [
"coverage_conditional_plugin"
]
[tool.coverage.coverage_conditional_plugin.rules]
# Here we specify our pragma rules:
py-gt-39 = "sys_version_info > (3, 9)"
py-lt-39 = "sys_version_info < (3, 9)"
py-lt-310 = "sys_version_info < (3, 10)"
has-mypy = "is_installed('mypy')"
no-cover = "True"