-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
69 lines (60 loc) · 1.62 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
[tool.poetry]
name = "xinject"
version = "1.4.1"
description = "Lazy dependency injection."
authors = ["Josh Orr <[email protected]>"]
packages = [{include = "xinject"}]
readme = "README.md"
repository = "https://github.com/xyngular/py-xinject"
keywords = ["dependency", "injection", "lazy", "resource"]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: The Unlicense (Unlicense)"
]
[tool.poetry.dependencies]
python = "^3.8"
xsentinels = "^1.2.0"
[tool.poetry.group.dev.dependencies]
mkdocs-git-revision-date-plugin = "^0.3.2"
mkdocs = "^1.4.0"
mike = "^1.1.2"
pytest-pycodestyle = "^2.3.0"
pytest = "^7.1.3"
pdoc3 = "^0"
mkdocs-material = "^8.5.6"
tomlkit = "^0.11.5"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--verbose --pycodestyle"
testpaths = ["tests", "xinject"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.custom.xpublish]
extra-module-docs = ['xsentinels']
[tool.poetry.plugins]
# Pytest plugin to support automatic clearing of all current dependency dependencies between each test.
pytest11 = {xinject_pytest_plugin = "xinject.pytest_plugin"}
[tool.black]
line-length = 99
skip-string-normalization = 1
target_version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''