This repository has been archived by the owner on Apr 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
65 lines (58 loc) · 1.64 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
[tool.poetry]
name = "swagger-codegen"
version = "0.1.31"
description = "Generate API clients by parsing Swagger definitions"
authors = ["asyncee"]
license = "MIT"
readme = "readme.md"
homepage = "https://github.com/asyncee/swagger_codegen"
repository = "https://github.com/asyncee/swagger_codegen"
documentation = "https://github.com/asyncee/swagger_codegen"
keywords = ["swagger-codegen", "openapi", "swagger", "pydantic"]
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^1.4"
multidict = "^5"
jinja2 = "^2.11.1"
click = "^7.1.1"
typer = "^0.3"
toml = "^0.10.0"
inflection = "^0.5"
schemathesis = "1.1.0"
boltons = "^20.2.1"
rich = "^9.6.1"
httpx = { version = "*", optional = true }
aiohttp = { version = "*", optional = true }
requests = { version = "*", optional = true }
[tool.poetry.dev-dependencies]
requests-toolbelt = "^0.9.1"
pytest-aiohttp = "^0.3.0"
pytest-lazy-fixture = "^0.6.3"
mypy = "^0"
mypy-extensions = "^0"
fastapi = "^0.63.0"
uvicorn = "^0.13.2"
black = "^20.8b1"
isort = "^5.7.0"
flake8 = "^3.8.4"
pytest-cov = "^2.10.1"
[tool.poetry.extras]
sync = ["requests"]
async = ["aiohttp", "httpx"]
all = ["aiohttp", "requests", "httpx"]
[tool.poetry.scripts]
swagger_codegen = 'swagger_codegen.cli.main:app'
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.isort]
profile = "black"
line_length = 100
src_paths = ["src"]
known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
known_first_party = ["swagger_codegen"]
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
[tool.black]
line-length = 100
target-version = ['py38']