This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (86 loc) · 2.71 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
92
93
94
95
96
97
[tool.poetry]
name = "bearboto3"
version = "0.1.3"
description = "Facilitates using beartype runtime type-checking with the AWS SDK"
authors = ["Paul Hutchings <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/beartype/bearboto3"
repository = "https://github.com/beartype/bearboto3"
keywords = ["aws", "boto3", "type checking", "type hints", "beartype"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed",
]
[tool.poetry.urls]
"Issues" = "https://github.com/beartype/bearboto3/issues"
[tool.poetry.dependencies]
python = "^3.7"
beartype = ">=0.9.0"
typing-extensions = { version = "^4.2.0", python = "<3.9" }
# Optional type stubs (will be installed as runtime dependencies this way)
mypy-boto3-s3 = { version = "^1.21.0", optional = true }
mypy-boto3-ec2 = { version = "^1.21.1", optional = true }
mypy-boto3-dynamodb = { version = "^1.21.4", optional = true }
mypy-boto3-iam = { version = "^1.21.2", optional = true }
mypy-boto3-sns = { version = "^1.21.0", optional = true }
mypy-boto3-sqs = { version = "^1.21.0", optional = true }
mypy-boto3-lambda = { version = "^1.21.0", optional = true }
[tool.poetry.dev-dependencies]
boto3 = "^1.20.5"
pylint = "^2.11.1"
pytest = "^6.2.5"
black = "^21.10b0"
moto = { extras = ["all"], version = "^2.3.0" }
boto3-stubs = { extras = ["all"], version = "^1.20.26" }
pytest-cov = "^3.0.0"
coverage = { extras = ["toml"], version = "^6.1.2" }
Jinja2 = "^3.0.3"
pytest-xdist = "^2.4.0"
docker = "^5.0.3"
[tool.poetry.extras]
s3 = ["mypy-boto3-s3"]
ec2 = ["mypy-boto3-ec2"]
dynamodb = ["mypy-boto3-dynamodb"]
sns = ["mypy-boto3-sns"]
sqs = ["mypy-boto3-sqs"]
iam = ["mypy-boto3-iam"]
lambda = ["mypy-boto3-lambda"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pylint.master]
fail-under = 9
pyversion = 3.7
max-line-length = 120
ignore = ["tests"]
[tool.pylint.messages_control]
disable = [
"missing-module-docstring",
"missing-function-docstring",
"redefined-outer-name",
"too-many-lines",
"duplicate-code",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--cov",
"--cov-config=pyproject.toml",
"--cov-report=term-missing",
"--numprocesses=4",
]
[tool.coverage.run]
branch = true
source = ["bearboto3"]
omit = ['bearboto3/__init__.py']
[tool.coverage.report]
fail_under = 100
exclude_lines = ['if TYPE_CHECKING:']