Elffuss BraidHub

kikocis/continue public

f7e76bf9acb3 · 2.3 KiBRawPermalink
1[tool.poetry]
2name = "openapi_client"
3version = "1.0.0"
4description = "Continue Hub IDE API"
5authors = ["Continue Dev Team <team@openapitools.org>"]
6license = "NoLicense"
7readme = "README.md"
8repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
9keywords = ["OpenAPI", "OpenAPI-Generator", "Continue Hub IDE API"]
10include = ["openapi_client/py.typed"]
11
12[tool.poetry.dependencies]
13python = "^3.8"
14
15urllib3 = ">= 1.25.3, < 3.0.0"
16python-dateutil = ">= 2.8.2"
17pydantic = ">= 2"
18typing-extensions = ">= 4.7.1"
19
20[tool.poetry.dev-dependencies]
21pytest = ">= 7.2.1"
22pytest-cov = ">= 2.8.1"
23tox = ">= 3.9.0"
24flake8 = ">= 4.0.0"
25types-python-dateutil = ">= 2.8.19.14"
26mypy = ">= 1.5"
27
28
29[build-system]
30requires = ["setuptools"]
31build-backend = "setuptools.build_meta"
32
33[tool.pylint.'MESSAGES CONTROL']
34extension-pkg-whitelist = "pydantic"
35
36[tool.mypy]
37files = [
38 "openapi_client",
39 #"test", # auto-generated tests
40 "tests", # hand-written tests
41]
42# TODO: enable "strict" once all these individual checks are passing
43# strict = true
44
45# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
46warn_unused_configs = true
47warn_redundant_casts = true
48warn_unused_ignores = true
49
50## Getting these passing should be easy
51strict_equality = true
52extra_checks = true
53
54## Strongly recommend enabling this one as soon as you can
55check_untyped_defs = true
56
57## These shouldn't be too much additional work, but may be tricky to
58## get passing if you use a lot of untyped libraries
59disallow_subclassing_any = true
60disallow_untyped_decorators = true
61disallow_any_generics = true
62
63### These next few are various gradations of forcing use of type annotations
64#disallow_untyped_calls = true
65#disallow_incomplete_defs = true
66#disallow_untyped_defs = true
67#
68### This one isn't too hard to get passing, but return on investment is lower
69#no_implicit_reexport = true
70#
71### This one can be tricky to get passing if you use a lot of untyped libraries
72#warn_return_any = true
73
74[[tool.mypy.overrides]]
75module = [
76 "openapi_client.configuration",
77]
78warn_unused_ignores = true
79strict_equality = true
80extra_checks = true
81check_untyped_defs = true
82disallow_subclassing_any = true
83disallow_untyped_decorators = true
84disallow_any_generics = true
85disallow_untyped_calls = true
86disallow_incomplete_defs = true
87disallow_untyped_defs = true
88no_implicit_reexport = true
89warn_return_any = true