-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
138 lines (127 loc) · 3.66 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[project]
name = "types-aioboto3"
version = "13.3.0"
requires-python = ">=3.8"
description = "Type annotations and code completion for aiobotocore"
authors = [{ name = "Vlad Emelianov", email = "vlad.emelianov.nz@gmail.com" }]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["botocore", "type-annotations", "pyright", "mypy", "aiobotocore"]
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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Stubs Only",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["typing-extensions; python_version < '3.12'"]
[tool.uv]
config-settings = { editable-mode = "strict" }
dev-dependencies = [
"setuptools",
"aioboto3",
"mypy",
"pyright",
"istub",
"chalice",
"cryptography",
"types-botocore",
"boto3-stubs-lite",
"types-aiobotocore-lite",
]
[project.urls]
Homepage = "https://github.com/youtype/types-aioboto3"
Documentation = "https://youtype.github.io/mypy_boto3_builder/"
Repository = "https://github.com/youtype/types-aioboto3"
Changelog = "https://github.com/youtype/mypy_boto3_builder/releases"
Issues = "https://github.com/youtype/mypy_boto3_builder/issues"
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[tool.setuptools]
packages = ["aioboto3-stubs"]
[tool.pyright]
include = ["aioboto3-stubs"]
exclude = ["**/__pycache__", "tests", "typestubs"]
ignore = ["test.py"]
reportMissingImports = "error"
reportMissingTypeStubs = false
reportMissingTypeArgument = "error"
reportIncompatibleMethodOverride = "error"
reportIncompatibleVariableOverride = false
reportUnknownParameterType = "error"
pythonVersion = "3.8"
[tool.mypy]
python_version = "3.8"
warn_return_any = false
warn_unused_ignores = false
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
ignore_errors = false
[tool.ruff]
exclude = [
".eggs",
".git",
".git-rewrite",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".venv",
".vscode",
"build",
"dist",
]
line-length = 100
indent-width = 4
target-version = "py38"
[tool.ruff.lint]
preview = true
select = [
"E", # pycodestyle
"F", # pyflakes
"B", # flake8-bugbear
"I", # isort
"N", # pep8-naming
"C4", # flake8-comprehensions
"C90", # mccabe
"RUF", # ruff
"PYI", # flake8-pyi
"UP", # pyupgrade
"CPY", # flake8-copyright
]
fixable = ["ALL"]
unfixable = ["B"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
exclude = ["test_*.py"]
ignore = [
"N803", # invalid-argument-name
"N818", # error-suffix-on-exception-name
"PYI010", # non-empty-stub-body
"PYI019", # custom-type-var-return-type
"PYI021", # docstring-in-stub
"PYI048", # stub-body-multiple-statements
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.ruff.lint.flake8-copyright]
# author = "Vlad Emelianov"
min-file-size = 20
notice-rgx = "(?i)Copyright [0-9]{4}"