This repository was archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
91 lines (82 loc) · 2.1 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
[tool.poetry]
name = "aio-lambda-api"
version = "0.0.0"
description = "Simple AsyncIO AWS lambda HTTP API"
readme = "README.md"
authors = ["Accelize"]
license = "BSD-2-Clause"
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Typing :: Typed",
]
keywords = ["aws", "lambda", "http", "API", "asyncio"]
repository = "https://github.com/Accelize/aio_lambda_api"
[tool.poetry.dependencies]
python = "^3.8"
aioboto3 = { version = "*", optional = true }
aiohttp = { version = ">3.8", optional = true, extras = ["speedups"] }
jhalog = "*"
orjson = { version = "*", optional = true }
pydantic = { version = "*", optional = true }
uvloop = { version = "*", optional = true }
[tool.poetry.dev-dependencies]
bandit = "*"
botocore-stubs = "*"
boto3-stubs = {extras = ["ssm"], version = "*"}
black = "*"
flake8 = "*"
flake8-docstrings = "*"
mypy = "*"
pre-commit = "*"
pytest-cov = "*"
radon = "*"
types-urllib3 = "*"
types-setuptools = "*"
types-requests = "*"
yamllint = "*"
[tool.poetry.extras]
all = ["aioboto3", "pydantic", "orjson", "uvloop", "aiohttp"]
aws = ["aioboto3"]
validation = ["pydantic"]
speedups = ["orjson", "uvloop", "aiohttp"]
[tool.pytest.ini_options]
addopts = [
"--strict-markers",
"--cov=aio_lambda_api",
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:"
]
[tool.mypy]
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
[[tool.mypy.overrides]]
module = [
"tests.conftest",
"aioboto3",
"uvloop",
]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"