-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
119 lines (108 loc) · 3.16 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
[project]
name = "botocore-stubs"
version = "1.35.54"
requires-python = ">=3.8"
description = "Type annotations and code completion for botocore"
authors = [{ name = "Vlad Emelianov", email = "[email protected]" }]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["botocore", "type-annotations", "pyright", "mypy", "boto3"]
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 = [
"types-awscrt",
"typing-extensions>=4.1.0; python_version<'3.9'",
]
[project.optional-dependencies]
botocore = ["botocore"]
[tool.uv]
config-settings = { editable-mode = "strict" }
dev-dependencies = [
"setuptools",
"pre-commit",
"awscrt",
"botocore",
"mypy",
"ruff",
"pyright",
"istub",
"types-requests",
"types-python-dateutil",
"types-dataclasses",
"docutils",
]
[project.urls]
Homepage = "https://github.com/youtype/botocore-stubs"
Documentation = "https://youtype.github.io/mypy_boto3_builder/"
Repository = "https://github.com/youtype/botocore-stubs"
Changelog = "https://github.com/youtype/botocore-stubs/releases"
Issues = "https://github.com/youtype/botocore-stubs/issues"
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[tool.setuptools]
packages = ["botocore-stubs"]
[tool.pyright]
include = ["botocore-stubs"]
exclude = ["**/__pycache__", "tests", "typestubs"]
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]
select = ["E4", "E7", "E9", "F", "B", "I", "N", "C4", "C90", "RUF", "PYI", "UP"]
fixable = ["ALL"]
unfixable = ["B"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
exclude = ["test_*.py", "*.pyi"]
[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"