-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
87 lines (77 loc) · 1.83 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
[tool.poetry]
name = "python-client-generator"
version = "0.0.0"
description = "Python package to generate an httpx-based client off an OpenAPI spec"
readme = "README.md"
authors = ["Bogdan Petre <[email protected]>", "Trevor Pace <[email protected]>"]
repository = "https://github.com/sennder/python-client-generator"
[tool.poetry.urls]
download = "https://github.com/sennder/python-client-generator/releases"
tracker = "https://github.com/sennder/python-client-generator/issues"
[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^1.9.1"
chevron = "^0.14.0"
semver = "^3.0.0"
[tool.poetry.dev-dependencies]
coverage = { version = "^5.3", extras = ["toml"]}
pytest-cov = "^2.10.1"
flake8 = "^3.8.4"
mypy = "^0.812"
black = "22.3.0"
import-linter = "^1.2.1"
isort = "^5.7.0"
httpx = "^0.23.0"
fastapi = "^0.92.0"
python-multipart = "^0.0.6"
semver = "^3.0.0"
[tool.poetry.scripts]
poetry = "poetry.console:main"
[tool.poetry.group.dev.dependencies]
respx = "^0.21.1"
pytest = "7"
pytest-asyncio = "^0.23.7"
[tool.semantic_release]
version_toml = [
"pyproject.toml:tool.poetry.version"
]
major_on_zero = false
branch = "main"
upload_to_pypi = true
upload_to_release = true
build_command = "pip install poetry && poetry build"
[tool.isort]
profile = "black"
force_single_line = false
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
use_parentheses = true
src_paths = ["python_client_generator", "tests"]
skip_glob = []
filter_files = true
known_first_party = "python_client_generator"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.json
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| tests/expected
| clients
)/
'''
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"