forked from litestar-org/litestar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
139 lines (121 loc) · 3.45 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
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
129
130
131
132
133
134
135
136
137
138
139
[tool.poetry]
name = "starlite"
version = "1.14.1"
description = "Light-weight and flexible ASGI API Framework"
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
maintainers = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>", "Peter Schutt <peter.github@proton.me>", "Cody Fincher <cody.fincher@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/starlite-api/starlite"
repository = "https://github.com/starlite-api/starlite"
documentation = "https://starlite-api.github.io/starlite"
keywords = ["api", "rest", "http", "asgi", "pydantic", "starlette", "fastapi", "framework", "websocket"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
]
include = ["CHANGELOG.md"]
packages = [
{ include = "starlite" },
]
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
brotli = { version = "*", optional = true }
orjson = "*"
picologging = { version = "*", optional = true }
pydantic = "*"
pydantic-factories = "*"
pydantic-openapi-schema = "*"
python-multipart = "*"
pyyaml = "*"
requests = { version = "*", optional = true }
starlette = "*"
typing-extensions = "*"
[tool.poetry.dev-dependencies]
freezegun = "*"
hypothesis = "*"
jinja2 = "*"
mako = "*"
piccolo = "*"
picologging = "*"
pre-commit = "*"
pytest = "*"
pytest-asyncio = "*"
pytest-cov = "*"
redis = "*"
requests = "*"
sqlalchemy = "*"
tortoise-orm = "*"
tox = "*"
uvicorn = "*"
[tool.poetry.extras]
testing = ["requests"]
brotli = ["brotli"]
picologging = ["picologging"]
full = ["requests", "brotli", "picologging"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.pylint.MESSAGE_CONTROL]
disable = [
"cyclic-import",
"duplicate-code",
"line-too-long",
"missing-class-docstring",
"missing-module-docstring",
"super-init-not-called",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-return-statements",
"ungrouped-imports",
]
enable = "useless-suppression"
extension-pkg-allow-list = ["pydantic","orjson","picologging"]
[tool.pylint.REPORTS]
reports = "no"
[tool.pylint.FORMAT]
max-line-length = "120"
[tool.pylint.VARIABLES]
ignored-argument-names = "args|kwargs|_|__"
[tool.pylint.BASIC]
good-names = "_,__,i,e,k,v,fn,get,post,put,patch,delete,route,asgi,websocket,Dependency,Body,Parameter"
no-docstring-rgx="(__.*__|main|test.*|.*test|.*Test|^_.*)$"
[tool.pylint.LOGGING]
# Logging modules to check that the string format arguments are in logging
# function parameter format
logging-modules=["logging","picologging"]
[tool.coverage.run]
omit = ["*/tests/*"]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if TYPE_CHECKING:',
'except ImportError as e:',
'\.\.\.'
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.pycln]
all = true