|
1 |
| -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "codegen_api_client"
|
3 | 3 | version = "1.0.0"
|
4 | 4 | description = "Developer API"
|
5 |
| -authors = ["OpenAPI Generator Community <team@openapitools.org>"] |
6 |
| -license = "NoLicense" |
| 5 | +authors = [{ name = "OpenAPI Generator Community", email = "team@openapitools.org" }] |
| 6 | +requires-python = "~=3.8" |
7 | 7 | readme = "README.md"
|
8 |
| -repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID" |
9 |
| -keywords = ["OpenAPI", "OpenAPI-Generator", "Developer API"] |
10 |
| -include = ["codegen_api_client/py.typed"] |
11 |
| - |
12 |
| -[tool.poetry.dependencies] |
13 |
| -python = "^3.8" |
| 8 | +license = "Apache-2.0" |
| 9 | +keywords = [ |
| 10 | + "OpenAPI", |
| 11 | + "OpenAPI-Generator", |
| 12 | + "Developer API", |
| 13 | +] |
| 14 | +dependencies = [ |
| 15 | + "urllib3>= 1.25.3, < 3.0.0", |
| 16 | + "python-dateutil>= 2.8.2", |
| 17 | + "pydantic>= 2", |
| 18 | + "typing-extensions>= 4.7.1", |
| 19 | +] |
14 | 20 |
|
15 |
| -urllib3 = ">= 1.25.3, < 3.0.0" |
16 |
| -python-dateutil = ">= 2.8.2" |
17 |
| -pydantic = ">= 2" |
18 |
| -typing-extensions = ">= 4.7.1" |
| 21 | +[project.urls] |
| 22 | +Repository = "https://github.com/codegen-sh/codegen-api-client" |
19 | 23 |
|
20 |
| -[tool.poetry.dev-dependencies] |
21 |
| -pytest = ">= 7.2.1" |
22 |
| -pytest-cov = ">= 2.8.1" |
23 |
| -tox = ">= 3.9.0" |
24 |
| -flake8 = ">= 4.0.0" |
25 |
| -types-python-dateutil = ">= 2.8.19.14" |
26 |
| -mypy = ">= 1.5" |
| 24 | +[dependency-groups] |
| 25 | +dev = [ |
| 26 | + "pytest>= 7.2.1", |
| 27 | + "pytest-cov>= 2.8.1", |
| 28 | + "tox>= 3.9.0", |
| 29 | + "flake8>= 4.0.0", |
| 30 | + "types-python-dateutil>= 2.8.19.14", |
| 31 | + "mypy>= 1.5", |
| 32 | +] |
27 | 33 |
|
| 34 | +[tool.uv.build-backend] |
| 35 | +module-root="" |
| 36 | +data = ["codegen_api_client/py.typed"] |
28 | 37 |
|
29 | 38 | [build-system]
|
30 |
| -requires = ["setuptools"] |
31 |
| -build-backend = "setuptools.build_meta" |
| 39 | +requires = ["uv_build>=0.6,<0.7"] |
| 40 | +build-backend = "uv_build" |
32 | 41 |
|
33 | 42 | [tool.pylint.'MESSAGES CONTROL']
|
34 | 43 | extension-pkg-whitelist = "pydantic"
|
@@ -60,17 +69,6 @@ disallow_subclassing_any = true
|
60 | 69 | disallow_untyped_decorators = true
|
61 | 70 | disallow_any_generics = true
|
62 | 71 |
|
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 | 72 | [[tool.mypy.overrides]]
|
75 | 73 | module = [
|
76 | 74 | "codegen_api_client.configuration",
|
|
0 commit comments