@@ -5,6 +5,42 @@ requires = [
5
5
]
6
6
build-backend = " setuptools.build_meta"
7
7
8
+ [project ]
9
+ name = " bring-api"
10
+ dynamic = [" version" , " readme" ]
11
+ description = " Unofficial package to access Bring! shopping lists API."
12
+ authors = [
13
+ { name = " Cyrill Raccaud" , email = " cyrill.raccaud+pypi@gmail.com" },
14
+ { name = " Manfred Dennerlein Rodelo" , email = " manfred@dennerlein.name" }
15
+ ]
16
+ dependencies = [
17
+ " aiohttp"
18
+ ]
19
+ requires-python = " >=3.11"
20
+
21
+ classifiers = [
22
+ " Programming Language :: Python :: 3" ,
23
+ " License :: OSI Approved :: MIT License" ,
24
+ " Operating System :: OS Independent"
25
+ ]
26
+ license = {text = " MIT License" }
27
+
28
+ [tool .setuptools ]
29
+ packages = [" bring_api" , " bring_api.locales" ]
30
+
31
+ [tool .setuptools .package-data ]
32
+ bring_api = [" py.typed" ]
33
+ "bring_api.locales" = [" *.json" ]
34
+
35
+ [tool .setuptools .dynamic ]
36
+ version = {attr = " bring_api.__version__" }
37
+ readme = {file = [" README.md" , " CHANGELOG.md" ], content-type = " text/markdown" }
38
+
39
+ [project .urls ]
40
+ Documentation = " https://miaucl.github.io/bring-api/"
41
+ Source = " https://github.com/miaucl/bring-api"
42
+ Issues = " https://github.com/miaucl/bring-api/issues"
43
+
8
44
[tool .ruff .lint ]
9
45
select = [
10
46
" B002" , # Python does not support the unary prefix increment
@@ -148,3 +184,27 @@ testpaths = [
148
184
149
185
" tests" ,
150
186
]
187
+
188
+ [tool .mypy ]
189
+ python_version = " 3.12"
190
+ plugins = " pydantic.mypy"
191
+ show_error_codes = true
192
+ follow_imports = " silent"
193
+ local_partial_types = true
194
+ strict_equality = true
195
+ no_implicit_optional = true
196
+ warn_incomplete_stub = true
197
+ warn_redundant_casts = true
198
+ warn_unused_configs = true
199
+ warn_unused_ignores = true
200
+ enable_error_code = [" ignore-without-code" , " redundant-self" , " truthy-iterable" ]
201
+ disable_error_code = [" annotation-unchecked" , " import-not-found" , " import-untyped" ]
202
+ extra_checks = false
203
+ check_untyped_defs = true
204
+ disallow_incomplete_defs = true
205
+ disallow_subclassing_any = true
206
+ disallow_untyped_calls = true
207
+ disallow_untyped_decorators = true
208
+ disallow_untyped_defs = true
209
+ warn_return_any = true
210
+ warn_unreachable = true
0 commit comments