-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (82 loc) · 2.38 KB
/
pyproject.toml
File metadata and controls
90 lines (82 loc) · 2.38 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
[tool.poetry]
name = "asgi-background"
version = "0.3.0"
description = "Background tasks for any ASGI web framework"
authors = ["Adrian Garcia Badaracco <adrian@adriangb.com>"]
readme = "README.md"
repository = "https://github.com/adriangb/asgi-background"
documentation = "https://github.com/adriangb/asgi-background"
keywords = ["web-framework", "http", "asgi"]
license = "MIT"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
]
[tool.poetry.dependencies]
python = ">=3.7,<4"
anyio = ">=3.6.1"
typing-extensions = { version = ">=4.2.0", python = "<3.10"}
asgi-lifespan-middleware = ">=0.1.3"
[tool.poetry.dev-dependencies]
# linting
black = "*"
flake8 = "*"
isort = "*"
pre-commit = "*"
mypy = "*"
# testing
pytest = "*"
pytest-cov = { version = "*" }
pytest-sugar = "*"
trio = "*"
starlette = "*"
httpx = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.coverage.run]
branch = true
source = ["asgi_background", "tests"]
dynamic_context = "test_function"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
'\.\.\.',
"raise NotImplementedError",
"TYPE_CHECKING",
"__repr__",
"import",
]
fail_under = 100
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mypy]
files = "asgi_background/**/*.py,tests/**/*.py"
no_implicit_optional = true
allow_redefinition = false
implicit_reexport = false
warn_unreachable = true
show_error_codes = true