-
-
Notifications
You must be signed in to change notification settings - Fork 108
/
pyproject.toml
82 lines (69 loc) · 2.25 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
[tool.poetry]
name = "fastapi-code-generator"
version = "0.0.1"
description = ""
authors = ["Koudai Aono <[email protected]>"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/koxudaxi/fastapi-code-generator"
repository = "https://github.com/koxudaxi/fastapi-code-generator"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython"
]
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?$"
[tool.poetry.scripts]
fastapi-codegen = "fastapi_code_generator.__main__:app"
[tool.poetry.dependencies]
python = "^3.8.0"
typer = {extras = ["all"], version = ">=0.2.1,<0.13.0"}
datamodel-code-generator = {extras = ["http"], version = "0.25.6"}
stringcase = "^1.2.0"
PySnooper = ">=0.4.1,<1.2.0"
jinja2 = ">=2.11.2,<4.0.0"
pydantic = "^2.0"
typed-ast = [
{version = ">=1.5.0", python = ">=3.9.8"},
{version = ">=1.4.2", python = "<3.9.8"},
]
#mkdocs = {version = "1.1.2", optional = true}
#mkdocs-material = {version = "5.2.3", optional = true}
[tool.poetry.dev-dependencies]
pytest = "^8.2"
pytest-cov = "*"
pytest-mock = "*"
mypy = "^1.10"
freezegun = "^1.5"
black = "24.4.2"
isort = "==5.13.2"
#[tool.poetry.extras]
#docs = ["mkdocs", "mkdocs-material"]
[tool.black]
line-length = 88
skip-string-normalization = true
target-version = ['py38']
exclude = '(tests/data|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist|.*\/models\.py.*|.*\/models\/.*)'
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
skip = "tests/data"
[tool.pydantic-pycharm-plugin.parsable-types]
# str field may parse int and float
str = ["int", "float"]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"