forked from youtype/mypy_boto3_builder
/
pyproject.toml
123 lines (113 loc) · 3.47 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[tool.black]
line-length = 100
include = '(mypy_boto3_builder|types_s3transfer|tests)/.*\.pyi?$'
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
preview = true
[tool.isort]
profile = "black"
line_length = 100
known_third_party = ["botocore", "boto3", "aiobotocore"]
known_first_party = ["mypy_boto3_builder", "tests"]
src_paths = []
[tool.poetry]
name = "mypy-boto3-builder"
version = "7.21.0"
description = "Builder for boto3-stubs and types-aiobotocore"
authors = ["Vlad Emelianov <vlad.emelianov.nz@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://youtype.github.io/mypy_boto3_builder/"
repository = "https://github.com/youtype/mypy_boto3_builder"
documentation = "https://youtype.github.io/mypy_boto3_builder/"
keywords = ["boto3", "type-annotations", "pyright", "mypy", "boto3-stubs"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{ include = "mypy_boto3_builder" }]
include = [
"mypy_boto3_builder/py.typed",
"mypy_boto3_builder/templates/*/*.jinja2",
"mypy_boto3_builder/templates/*/*/*.jinja2",
"mypy_boto3_builder/templates/*/*/*/*.jinja2",
"mypy_boto3_builder/stubs_static/*.pyi",
"mypy_boto3_builder/stubs_static/*/*.pyi",
"mypy_boto3_builder/stubs_static/*/*.py",
"mypy_boto3_builder/stubs_static/*/*/*.pyi",
"mypy_boto3_builder/stubs_static/*/*/*.py",
]
[tool.poetry.scripts]
mypy_boto3_builder = 'mypy_boto3_builder.main:main'
[tool.poetry.urls]
"Documentation" = "https://youtype.github.io/mypy_boto3_builder/"
"Source" = "https://github.com/youtype/mypy_boto3_builder"
"Bug Tracker" = "https://github.com/youtype/mypy_boto3_builder/issues"
[tool.poetry.dependencies]
python = "^3.10"
pip = "*"
boto3 = "*"
black = "*"
isort = "*"
jinja2 = "*"
mdformat = "*"
newversion = "*"
cryptography = "*"
typing_extensions = "*"
[tool.poetry.dev-dependencies]
handsdown = "*"
mypy = "*"
flake8 = "*"
flake8-bugbear = "*"
flake8-comprehensions = "*"
flake8-docstrings = "*"
flake8-simplify = "*"
flake8-string-format = "*"
pytest-cov = "*"
pytest = "*"
vulture = "*"
types-requests = "*"
types-pkg-resources = "*"
types-six = "*"
types-certifi = "*"
types-python-dateutil = "*"
types-urllib3 = "*"
types-s3transfer = "*"
boto3-stubs = "*"
botocore-stubs = "*"
istub = "*"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.report]
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@overload",
]
ignore_errors = true
omit = ["tests/*"]
[tool.pyright]
include = ["mypy_boto3_builder"]
exclude = ["**/__pycache__", "tests", "**/build", "typestubs"]
typeCheckingMode = "strict"
reportMissingImports = "error"
reportMissingTypeStubs = "error"
reportMissingTypeArgument = "error"
reportIncompatibleMethodOverride = "error"
reportIncompatibleVariableOverride = "error"
reportUnknownParameterType = "error"
pythonVersion = "3.10"