-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
94 lines (85 loc) · 2.1 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
88
89
90
91
92
93
94
[tool.poetry]
name = "example"
version = "0.1.0"
description = "This project was generated with fastapi-mvc."
authors = ["Radosław Szamszur <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/fastapi-mvc/example"
classifiers = [
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "~0.98.0"
uvicorn = {extras = ["standard"], version = "~0.22.0"}
gunicorn = "~20.1.0"
click = "~8.1.3"
redis = "~4.5.5"
aiohttp = "~3.8.4"
[tool.poetry.group.dev.dependencies]
pytest = "~7.4.0"
pytest-cov = "~4.0.0"
pytest-asyncio = "~0.21.0"
requests = "~2.28.2"
httpx = "~0.23.3"
aioresponses = "~0.7.3"
mypy = "~1.4.1"
flake8 = "~5.0.4"
flake8-docstrings = "~1.7.0"
flake8-import-order = "~0.18.1"
flake8-todo = "^0.7"
black = "~23.3.0"
Sphinx = "~5.3.0"
Pallets-Sphinx-Themes = "~2.0.2"
myst-parser = "~1.0.0"
fastapi-mvc = "^0.26.0"
[tool.poetry.scripts]
example = 'example.cli:cli'
[tool.poetry.urls]
"Issues" = "https://github.com/fastapi-mvc/example/issues"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
omit = [
"example/config/gunicorn.py",
"example/__main__.py",
]
[tool.coverage.report]
exclude_lines = [
"pass",
]
[tool.mypy]
exclude = [
"config/gunicorn.py"
]
plugins = "pydantic.mypy"
python_version = '3.10'
show_error_codes = true
follow_imports = 'silent'
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
warn_unused_configs = true
disallow_subclassing_any = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
disallow_untyped_calls = true
disallow_untyped_defs = true
implicit_optional = true
[[tool.mypy.overrides]]
module = [
"gunicorn.*",
"redis.*",
]
ignore_missing_imports = true