-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (112 loc) · 2.94 KB
/
pyproject.toml
File metadata and controls
128 lines (112 loc) · 2.94 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[tool.poetry]
name = "FastApi-RESTful"
version = "0.3.2"
description = "Quicker FastApi developing tools"
license = "None"
authors = ["Philipp Lackinger"]
readme = "README.md"
homepage = "https://fastapi-restful.netlify.app"
repository = "https://github.com/yuval9313/fastapi-utils"
documentation = "https://fastapi-restful.netlify.app"
keywords = ["fastapi", "OOP", "RESTful"]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Utilities"
]
[tool.poetry.dependencies]
python = "^3.6"
fastapi = "*"
pydantic = "^1.0"
sqlalchemy = { version = "^1.3.12", optional = true }
psutil = "^5.8.0"
[tool.poetry.dev-dependencies]
# Starlette features
wheel = "*"
aiofiles = "*" # Serving static files
requests = "*" # TestClient
# Testing
pytest = "~=5.4.3"
pytest-cov = "*"
pytest-asyncio = "*"
# Python 3.6 Testing
async-exit-stack = { version = "*", python = "~3.6" }
async-generator = { version = "*", python = "~3.6" }
types-dataclasses = { version = "*", python = "~3.6" }
# CI
codecov = "*"
# Static
isort = "*"
autoflake = "*"
black = { version = "*", allow-prereleases = true }
flake8 = "*"
mypy = "*"
sqlalchemy-stubs = "*"
# Documentation
mkdocs = "*"
mkdocs-material = "*"
markdown-include = "*"
[tool.poetry.extras]
all = ["sqlalchemy"]
session = ["sqlalchemy"]
[tool.black]
line-length = 120
target_version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.git
| \.mypy_cache
| \.pytest_cache
| htmlcov
| build
)/
)
'''
[tool.isort]
line_length = 120
known_first_party = ["fastapi-utils", "tests"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
[tool.coverage.run]
source = ["fastapi_restful"]
branch = true
[tool.coverage.report]
precision = 2
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"raise NotImplemented",
"@overload",
"if TYPE_CHECKING:",
'if __name__ == "__main__":'
]
[tool.poetry-version-plugin]
source = "init"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.masonry.api"